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

com.pulumi.aws.dms.outputs.GetReplicationSubnetGroupResult Maven / Gradle / Ivy

// *** 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.aws.dms.outputs;

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

@CustomType
public final class GetReplicationSubnetGroupResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String replicationSubnetGroupArn;
    /**
     * @return Description for the subnet group.
     * 
     */
    private String replicationSubnetGroupDescription;
    private String replicationSubnetGroupId;
    private String subnetGroupStatus;
    /**
     * @return List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
     * 
     */
    private List subnetIds;
    private Map tags;
    /**
     * @return The ID of the VPC the subnet group is in.
     * 
     */
    private String vpcId;

    private GetReplicationSubnetGroupResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String replicationSubnetGroupArn() {
        return this.replicationSubnetGroupArn;
    }
    /**
     * @return Description for the subnet group.
     * 
     */
    public String replicationSubnetGroupDescription() {
        return this.replicationSubnetGroupDescription;
    }
    public String replicationSubnetGroupId() {
        return this.replicationSubnetGroupId;
    }
    public String subnetGroupStatus() {
        return this.subnetGroupStatus;
    }
    /**
     * @return List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
     * 
     */
    public List subnetIds() {
        return this.subnetIds;
    }
    public Map tags() {
        return this.tags;
    }
    /**
     * @return The ID of the VPC the subnet group is in.
     * 
     */
    public String vpcId() {
        return this.vpcId;
    }

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

    public static Builder builder(GetReplicationSubnetGroupResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String replicationSubnetGroupArn;
        private String replicationSubnetGroupDescription;
        private String replicationSubnetGroupId;
        private String subnetGroupStatus;
        private List subnetIds;
        private Map tags;
        private String vpcId;
        public Builder() {}
        public Builder(GetReplicationSubnetGroupResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.replicationSubnetGroupArn = defaults.replicationSubnetGroupArn;
    	      this.replicationSubnetGroupDescription = defaults.replicationSubnetGroupDescription;
    	      this.replicationSubnetGroupId = defaults.replicationSubnetGroupId;
    	      this.subnetGroupStatus = defaults.subnetGroupStatus;
    	      this.subnetIds = defaults.subnetIds;
    	      this.tags = defaults.tags;
    	      this.vpcId = defaults.vpcId;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder replicationSubnetGroupArn(String replicationSubnetGroupArn) {
            if (replicationSubnetGroupArn == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "replicationSubnetGroupArn");
            }
            this.replicationSubnetGroupArn = replicationSubnetGroupArn;
            return this;
        }
        @CustomType.Setter
        public Builder replicationSubnetGroupDescription(String replicationSubnetGroupDescription) {
            if (replicationSubnetGroupDescription == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "replicationSubnetGroupDescription");
            }
            this.replicationSubnetGroupDescription = replicationSubnetGroupDescription;
            return this;
        }
        @CustomType.Setter
        public Builder replicationSubnetGroupId(String replicationSubnetGroupId) {
            if (replicationSubnetGroupId == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "replicationSubnetGroupId");
            }
            this.replicationSubnetGroupId = replicationSubnetGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder subnetGroupStatus(String subnetGroupStatus) {
            if (subnetGroupStatus == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "subnetGroupStatus");
            }
            this.subnetGroupStatus = subnetGroupStatus;
            return this;
        }
        @CustomType.Setter
        public Builder subnetIds(List subnetIds) {
            if (subnetIds == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "subnetIds");
            }
            this.subnetIds = subnetIds;
            return this;
        }
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder vpcId(String vpcId) {
            if (vpcId == null) {
              throw new MissingRequiredPropertyException("GetReplicationSubnetGroupResult", "vpcId");
            }
            this.vpcId = vpcId;
            return this;
        }
        public GetReplicationSubnetGroupResult build() {
            final var _resultValue = new GetReplicationSubnetGroupResult();
            _resultValue.id = id;
            _resultValue.replicationSubnetGroupArn = replicationSubnetGroupArn;
            _resultValue.replicationSubnetGroupDescription = replicationSubnetGroupDescription;
            _resultValue.replicationSubnetGroupId = replicationSubnetGroupId;
            _resultValue.subnetGroupStatus = subnetGroupStatus;
            _resultValue.subnetIds = subnetIds;
            _resultValue.tags = tags;
            _resultValue.vpcId = vpcId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy