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

com.pulumi.aws.dms.inputs.GetReplicationInstanceArgs 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 GetReplicationInstanceArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetReplicationInstanceArgs Empty = new GetReplicationInstanceArgs();

    /**
     * The replication instance identifier.
     * 
     */
    @Import(name="replicationInstanceId", required=true)
    private Output replicationInstanceId;

    /**
     * @return The replication instance identifier.
     * 
     */
    public Output replicationInstanceId() {
        return this.replicationInstanceId;
    }

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

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

    private GetReplicationInstanceArgs() {}

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

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

    public static final class Builder {
        private GetReplicationInstanceArgs $;

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

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

        /**
         * @param replicationInstanceId The replication instance identifier.
         * 
         * @return builder
         * 
         */
        public Builder replicationInstanceId(Output replicationInstanceId) {
            $.replicationInstanceId = replicationInstanceId;
            return this;
        }

        /**
         * @param replicationInstanceId The replication instance identifier.
         * 
         * @return builder
         * 
         */
        public Builder replicationInstanceId(String replicationInstanceId) {
            return replicationInstanceId(Output.of(replicationInstanceId));
        }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy