All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.alicloud.pvtz.outputs.GetRulesRuleBindVpc Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.alicloud.pvtz.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetRulesRuleBindVpc {
    /**
     * @return The region ID of the vpc.
     * 
     */
    private String regionId;
    /**
     * @return The Region Name of the vpc.
     * 
     */
    private String regionName;
    /**
     * @return The ID of the VPC.
     * 
     */
    private String vpcId;
    /**
     * @return The Name of the VPC.
     * 
     */
    private String vpcName;

    private GetRulesRuleBindVpc() {}
    /**
     * @return The region ID of the vpc.
     * 
     */
    public String regionId() {
        return this.regionId;
    }
    /**
     * @return The Region Name of the vpc.
     * 
     */
    public String regionName() {
        return this.regionName;
    }
    /**
     * @return The ID of the VPC.
     * 
     */
    public String vpcId() {
        return this.vpcId;
    }
    /**
     * @return The Name of the VPC.
     * 
     */
    public String vpcName() {
        return this.vpcName;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetRulesRuleBindVpc defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String regionId;
        private String regionName;
        private String vpcId;
        private String vpcName;
        public Builder() {}
        public Builder(GetRulesRuleBindVpc defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.regionId = defaults.regionId;
    	      this.regionName = defaults.regionName;
    	      this.vpcId = defaults.vpcId;
    	      this.vpcName = defaults.vpcName;
        }

        @CustomType.Setter
        public Builder regionId(String regionId) {
            if (regionId == null) {
              throw new MissingRequiredPropertyException("GetRulesRuleBindVpc", "regionId");
            }
            this.regionId = regionId;
            return this;
        }
        @CustomType.Setter
        public Builder regionName(String regionName) {
            if (regionName == null) {
              throw new MissingRequiredPropertyException("GetRulesRuleBindVpc", "regionName");
            }
            this.regionName = regionName;
            return this;
        }
        @CustomType.Setter
        public Builder vpcId(String vpcId) {
            if (vpcId == null) {
              throw new MissingRequiredPropertyException("GetRulesRuleBindVpc", "vpcId");
            }
            this.vpcId = vpcId;
            return this;
        }
        @CustomType.Setter
        public Builder vpcName(String vpcName) {
            if (vpcName == null) {
              throw new MissingRequiredPropertyException("GetRulesRuleBindVpc", "vpcName");
            }
            this.vpcName = vpcName;
            return this;
        }
        public GetRulesRuleBindVpc build() {
            final var _resultValue = new GetRulesRuleBindVpc();
            _resultValue.regionId = regionId;
            _resultValue.regionName = regionName;
            _resultValue.vpcId = vpcId;
            _resultValue.vpcName = vpcName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy