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

com.pulumi.aws.dms.inputs.GetReplicationSubnetGroupArgs 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.inputs;

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


public final class GetReplicationSubnetGroupArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetReplicationSubnetGroupArgs Empty = new GetReplicationSubnetGroupArgs();

    /**
     * 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", required=true)
    private 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 Output replicationSubnetGroupId() {
        return this.replicationSubnetGroupId;
    }

    @Import(name="tags")
    private @Nullable Output> tags;

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

    private GetReplicationSubnetGroupArgs() {}

    private GetReplicationSubnetGroupArgs(GetReplicationSubnetGroupArgs $) {
        this.replicationSubnetGroupId = $.replicationSubnetGroupId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetReplicationSubnetGroupArgs $;

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

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

        /**
         * @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(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));
        }

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

        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GetReplicationSubnetGroupArgs build() {
            if ($.replicationSubnetGroupId == null) {
                throw new MissingRequiredPropertyException("GetReplicationSubnetGroupArgs", "replicationSubnetGroupId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy