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

com.pulumi.aws.dms.inputs.ReplicationConfigState 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.aws.dms.inputs.ReplicationConfigComputeConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ReplicationConfigState Empty = new ReplicationConfigState();

    /**
     * The Amazon Resource Name (ARN) for the serverless replication config.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) for the serverless replication config.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Configuration block for provisioning an DMS Serverless replication.
     * 
     */
    @Import(name="computeConfig")
    private @Nullable Output computeConfig;

    /**
     * @return Configuration block for provisioning an DMS Serverless replication.
     * 
     */
    public Optional> computeConfig() {
        return Optional.ofNullable(this.computeConfig);
    }

    /**
     * Unique identifier that you want to use to create the config.
     * 
     */
    @Import(name="replicationConfigIdentifier")
    private @Nullable Output replicationConfigIdentifier;

    /**
     * @return Unique identifier that you want to use to create the config.
     * 
     */
    public Optional> replicationConfigIdentifier() {
        return Optional.ofNullable(this.replicationConfigIdentifier);
    }

    /**
     * An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
     * 
     */
    @Import(name="replicationSettings")
    private @Nullable Output replicationSettings;

    /**
     * @return An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
     * 
     */
    public Optional> replicationSettings() {
        return Optional.ofNullable(this.replicationSettings);
    }

    /**
     * The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
     * 
     */
    @Import(name="replicationType")
    private @Nullable Output replicationType;

    /**
     * @return The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
     * 
     */
    public Optional> replicationType() {
        return Optional.ofNullable(this.replicationType);
    }

    /**
     * Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
     * 
     */
    @Import(name="resourceIdentifier")
    private @Nullable Output resourceIdentifier;

    /**
     * @return Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
     * 
     */
    public Optional> resourceIdentifier() {
        return Optional.ofNullable(this.resourceIdentifier);
    }

    /**
     * The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
     * 
     */
    @Import(name="sourceEndpointArn")
    private @Nullable Output sourceEndpointArn;

    /**
     * @return The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
     * 
     */
    public Optional> sourceEndpointArn() {
        return Optional.ofNullable(this.sourceEndpointArn);
    }

    /**
     * Whether to run or stop the serverless replication, default is false.
     * 
     */
    @Import(name="startReplication")
    private @Nullable Output startReplication;

    /**
     * @return Whether to run or stop the serverless replication, default is false.
     * 
     */
    public Optional> startReplication() {
        return Optional.ofNullable(this.startReplication);
    }

    /**
     * JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
     * 
     */
    @Import(name="supplementalSettings")
    private @Nullable Output supplementalSettings;

    /**
     * @return JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
     * 
     */
    public Optional> supplementalSettings() {
        return Optional.ofNullable(this.supplementalSettings);
    }

    /**
     * An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
     * 
     */
    @Import(name="tableMappings")
    private @Nullable Output tableMappings;

    /**
     * @return An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
     * 
     */
    public Optional> tableMappings() {
        return Optional.ofNullable(this.tableMappings);
    }

    /**
     * A 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 A 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 Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
     * 
     */
    @Import(name="targetEndpointArn")
    private @Nullable Output targetEndpointArn;

    /**
     * @return The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
     * 
     */
    public Optional> targetEndpointArn() {
        return Optional.ofNullable(this.targetEndpointArn);
    }

    private ReplicationConfigState() {}

    private ReplicationConfigState(ReplicationConfigState $) {
        this.arn = $.arn;
        this.computeConfig = $.computeConfig;
        this.replicationConfigIdentifier = $.replicationConfigIdentifier;
        this.replicationSettings = $.replicationSettings;
        this.replicationType = $.replicationType;
        this.resourceIdentifier = $.resourceIdentifier;
        this.sourceEndpointArn = $.sourceEndpointArn;
        this.startReplication = $.startReplication;
        this.supplementalSettings = $.supplementalSettings;
        this.tableMappings = $.tableMappings;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.targetEndpointArn = $.targetEndpointArn;
    }

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

    public static final class Builder {
        private ReplicationConfigState $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) for the serverless replication config.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) for the serverless replication config.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param computeConfig Configuration block for provisioning an DMS Serverless replication.
         * 
         * @return builder
         * 
         */
        public Builder computeConfig(@Nullable Output computeConfig) {
            $.computeConfig = computeConfig;
            return this;
        }

        /**
         * @param computeConfig Configuration block for provisioning an DMS Serverless replication.
         * 
         * @return builder
         * 
         */
        public Builder computeConfig(ReplicationConfigComputeConfigArgs computeConfig) {
            return computeConfig(Output.of(computeConfig));
        }

        /**
         * @param replicationConfigIdentifier Unique identifier that you want to use to create the config.
         * 
         * @return builder
         * 
         */
        public Builder replicationConfigIdentifier(@Nullable Output replicationConfigIdentifier) {
            $.replicationConfigIdentifier = replicationConfigIdentifier;
            return this;
        }

        /**
         * @param replicationConfigIdentifier Unique identifier that you want to use to create the config.
         * 
         * @return builder
         * 
         */
        public Builder replicationConfigIdentifier(String replicationConfigIdentifier) {
            return replicationConfigIdentifier(Output.of(replicationConfigIdentifier));
        }

        /**
         * @param replicationSettings An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
         * 
         * @return builder
         * 
         */
        public Builder replicationSettings(@Nullable Output replicationSettings) {
            $.replicationSettings = replicationSettings;
            return this;
        }

        /**
         * @param replicationSettings An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
         * 
         * @return builder
         * 
         */
        public Builder replicationSettings(String replicationSettings) {
            return replicationSettings(Output.of(replicationSettings));
        }

        /**
         * @param replicationType The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
         * 
         * @return builder
         * 
         */
        public Builder replicationType(@Nullable Output replicationType) {
            $.replicationType = replicationType;
            return this;
        }

        /**
         * @param replicationType The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
         * 
         * @return builder
         * 
         */
        public Builder replicationType(String replicationType) {
            return replicationType(Output.of(replicationType));
        }

        /**
         * @param resourceIdentifier Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
         * 
         * @return builder
         * 
         */
        public Builder resourceIdentifier(@Nullable Output resourceIdentifier) {
            $.resourceIdentifier = resourceIdentifier;
            return this;
        }

        /**
         * @param resourceIdentifier Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
         * 
         * @return builder
         * 
         */
        public Builder resourceIdentifier(String resourceIdentifier) {
            return resourceIdentifier(Output.of(resourceIdentifier));
        }

        /**
         * @param sourceEndpointArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
         * 
         * @return builder
         * 
         */
        public Builder sourceEndpointArn(@Nullable Output sourceEndpointArn) {
            $.sourceEndpointArn = sourceEndpointArn;
            return this;
        }

        /**
         * @param sourceEndpointArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
         * 
         * @return builder
         * 
         */
        public Builder sourceEndpointArn(String sourceEndpointArn) {
            return sourceEndpointArn(Output.of(sourceEndpointArn));
        }

        /**
         * @param startReplication Whether to run or stop the serverless replication, default is false.
         * 
         * @return builder
         * 
         */
        public Builder startReplication(@Nullable Output startReplication) {
            $.startReplication = startReplication;
            return this;
        }

        /**
         * @param startReplication Whether to run or stop the serverless replication, default is false.
         * 
         * @return builder
         * 
         */
        public Builder startReplication(Boolean startReplication) {
            return startReplication(Output.of(startReplication));
        }

        /**
         * @param supplementalSettings JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
         * 
         * @return builder
         * 
         */
        public Builder supplementalSettings(@Nullable Output supplementalSettings) {
            $.supplementalSettings = supplementalSettings;
            return this;
        }

        /**
         * @param supplementalSettings JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
         * 
         * @return builder
         * 
         */
        public Builder supplementalSettings(String supplementalSettings) {
            return supplementalSettings(Output.of(supplementalSettings));
        }

        /**
         * @param tableMappings An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
         * 
         * @return builder
         * 
         */
        public Builder tableMappings(@Nullable Output tableMappings) {
            $.tableMappings = tableMappings;
            return this;
        }

        /**
         * @param tableMappings An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
         * 
         * @return builder
         * 
         */
        public Builder tableMappings(String tableMappings) {
            return tableMappings(Output.of(tableMappings));
        }

        /**
         * @param tags A 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 A 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 targetEndpointArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
         * 
         * @return builder
         * 
         */
        public Builder targetEndpointArn(@Nullable Output targetEndpointArn) {
            $.targetEndpointArn = targetEndpointArn;
            return this;
        }

        /**
         * @param targetEndpointArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
         * 
         * @return builder
         * 
         */
        public Builder targetEndpointArn(String targetEndpointArn) {
            return targetEndpointArn(Output.of(targetEndpointArn));
        }

        public ReplicationConfigState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy