// *** 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.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetReplicationInstancePlainArgs Empty = new GetReplicationInstancePlainArgs();

    /**
     * The replication instance identifier. This parameter is stored as a lowercase string.
     * 
     * - Must contain from 1 to 63 alphanumeric characters or hyphens.
     * - First character must be a letter.
     * - Cannot end with a hyphen
     * - Cannot contain two consecutive hyphens.
     * 
     */
    @Import(name="replicationInstanceId", required=true)
    private String replicationInstanceId;

    /**
     * @return The replication instance identifier. This parameter is stored as a lowercase string.
     * 
     * - Must contain from 1 to 63 alphanumeric characters or hyphens.
     * - First character must be a letter.
     * - Cannot end with a hyphen
     * - Cannot contain two consecutive hyphens.
     * 
     */
    public String replicationInstanceId() {
        return this.replicationInstanceId;
    }

    @Import(name="tags")
    private @Nullable Map<String,String> tags;

    public Optional<Map<String,String>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetReplicationInstancePlainArgs() {}

    private GetReplicationInstancePlainArgs(GetReplicationInstancePlainArgs $) {
        this.replicationInstanceId = $.replicationInstanceId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetReplicationInstancePlainArgs $;

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

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

        /**
         * @param replicationInstanceId The replication instance identifier. This parameter is stored as a lowercase string.
         * 
         * - Must contain from 1 to 63 alphanumeric characters or hyphens.
         * - First character must be a letter.
         * - Cannot end with a hyphen
         * - Cannot contain two consecutive hyphens.
         * 
         * @return builder
         * 
         */
        public Builder replicationInstanceId(String replicationInstanceId) {
            $.replicationInstanceId = replicationInstanceId;
            return this;
        }

        public Builder tags(@Nullable Map<String,String> tags) {
            $.tags = tags;
            return this;
        }

        public GetReplicationInstancePlainArgs build() {
            $.replicationInstanceId = Objects.requireNonNull($.replicationInstanceId, "expected parameter 'replicationInstanceId' to be non-null");
            return $;
        }
    }

}
