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

com.pulumi.aws.dms.inputs.ReplicationSubnetGroupState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.dms.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ReplicationSubnetGroupState extends com.pulumi.resources.ResourceArgs {

    public static final ReplicationSubnetGroupState Empty = new ReplicationSubnetGroupState();

    @Import(name="replicationSubnetGroupArn")
    private @Nullable Output replicationSubnetGroupArn;

    public Optional> replicationSubnetGroupArn() {
        return Optional.ofNullable(this.replicationSubnetGroupArn);
    }

    /**
     * Description for the subnet group.
     * 
     */
    @Import(name="replicationSubnetGroupDescription")
    private @Nullable Output replicationSubnetGroupDescription;

    /**
     * @return Description for the subnet group.
     * 
     */
    public Optional> replicationSubnetGroupDescription() {
        return Optional.ofNullable(this.replicationSubnetGroupDescription);
    }

    /**
     * Name for the replication subnet group. This value is stored as a lowercase string. It must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens and cannot be `default`.
     * 
     */
    @Import(name="replicationSubnetGroupId")
    private @Nullable Output replicationSubnetGroupId;

    /**
     * @return Name for the replication subnet group. This value is stored as a lowercase string. It must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens and cannot be `default`.
     * 
     */
    public Optional> replicationSubnetGroupId() {
        return Optional.ofNullable(this.replicationSubnetGroupId);
    }

    /**
     * List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
     * 
     */
    @Import(name="subnetIds")
    private @Nullable Output> subnetIds;

    /**
     * @return List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
     * 
     */
    public Optional>> subnetIds() {
        return Optional.ofNullable(this.subnetIds);
    }

    /**
     * Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * The ID of the VPC the subnet group is in.
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return The ID of the VPC the subnet group is in.
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private ReplicationSubnetGroupState() {}

    private ReplicationSubnetGroupState(ReplicationSubnetGroupState $) {
        this.replicationSubnetGroupArn = $.replicationSubnetGroupArn;
        this.replicationSubnetGroupDescription = $.replicationSubnetGroupDescription;
        this.replicationSubnetGroupId = $.replicationSubnetGroupId;
        this.subnetIds = $.subnetIds;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private ReplicationSubnetGroupState $;

        public Builder() {
            $ = new ReplicationSubnetGroupState();
        }

        public Builder(ReplicationSubnetGroupState defaults) {
            $ = new ReplicationSubnetGroupState(Objects.requireNonNull(defaults));
        }

        public Builder replicationSubnetGroupArn(@Nullable Output replicationSubnetGroupArn) {
            $.replicationSubnetGroupArn = replicationSubnetGroupArn;
            return this;
        }

        public Builder replicationSubnetGroupArn(String replicationSubnetGroupArn) {
            return replicationSubnetGroupArn(Output.of(replicationSubnetGroupArn));
        }

        /**
         * @param replicationSubnetGroupDescription Description for the subnet group.
         * 
         * @return builder
         * 
         */
        public Builder replicationSubnetGroupDescription(@Nullable Output replicationSubnetGroupDescription) {
            $.replicationSubnetGroupDescription = replicationSubnetGroupDescription;
            return this;
        }

        /**
         * @param replicationSubnetGroupDescription Description for the subnet group.
         * 
         * @return builder
         * 
         */
        public Builder replicationSubnetGroupDescription(String replicationSubnetGroupDescription) {
            return replicationSubnetGroupDescription(Output.of(replicationSubnetGroupDescription));
        }

        /**
         * @param replicationSubnetGroupId Name for the replication subnet group. This value is stored as a lowercase string. It must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens and cannot be `default`.
         * 
         * @return builder
         * 
         */
        public Builder replicationSubnetGroupId(@Nullable Output replicationSubnetGroupId) {
            $.replicationSubnetGroupId = replicationSubnetGroupId;
            return this;
        }

        /**
         * @param replicationSubnetGroupId Name for the replication subnet group. This value is stored as a lowercase string. It must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens and cannot be `default`.
         * 
         * @return builder
         * 
         */
        public Builder replicationSubnetGroupId(String replicationSubnetGroupId) {
            return replicationSubnetGroupId(Output.of(replicationSubnetGroupId));
        }

        /**
         * @param subnetIds List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(@Nullable Output> subnetIds) {
            $.subnetIds = subnetIds;
            return this;
        }

        /**
         * @param subnetIds List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(List subnetIds) {
            return subnetIds(Output.of(subnetIds));
        }

        /**
         * @param subnetIds List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }

        /**
         * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param vpcId The ID of the VPC the subnet group is in.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId The ID of the VPC the subnet group is in.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        public ReplicationSubnetGroupState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy