Class ReplicationTaskArgs.Builder

  • Enclosing class:
    ReplicationTaskArgs

    public static final class ReplicationTaskArgs.Builder
    extends java.lang.Object
    • Method Detail

      • cdcStartPosition

        public ReplicationTaskArgs.Builder cdcStartPosition​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> cdcStartPosition)
        Parameters:
        cdcStartPosition - Indicates when you want a change data capture (CDC) operation to start. The value can be a RFC3339 formatted date, a checkpoint, or a LSN/SCN format depending on the source engine. For more information see [Determining a CDC native start point](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Task.CDC.html#CHAP_Task.CDC.StartPoint.Native).
        Returns:
        builder
      • cdcStartPosition

        public ReplicationTaskArgs.Builder cdcStartPosition​(java.lang.String cdcStartPosition)
        Parameters:
        cdcStartPosition - Indicates when you want a change data capture (CDC) operation to start. The value can be a RFC3339 formatted date, a checkpoint, or a LSN/SCN format depending on the source engine. For more information see [Determining a CDC native start point](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Task.CDC.html#CHAP_Task.CDC.StartPoint.Native).
        Returns:
        builder
      • cdcStartTime

        public ReplicationTaskArgs.Builder cdcStartTime​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> cdcStartTime)
        Parameters:
        cdcStartTime - RFC3339 formatted date string or UNIX timestamp for the start of the Change Data Capture (CDC) operation.
        Returns:
        builder
      • cdcStartTime

        public ReplicationTaskArgs.Builder cdcStartTime​(java.lang.String cdcStartTime)
        Parameters:
        cdcStartTime - RFC3339 formatted date string or UNIX timestamp for the start of the Change Data Capture (CDC) operation.
        Returns:
        builder
      • migrationType

        public ReplicationTaskArgs.Builder migrationType​(com.pulumi.core.Output<java.lang.String> migrationType)
        Parameters:
        migrationType - Migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
        Returns:
        builder
      • migrationType

        public ReplicationTaskArgs.Builder migrationType​(java.lang.String migrationType)
        Parameters:
        migrationType - Migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
        Returns:
        builder
      • region

        public ReplicationTaskArgs.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ReplicationTaskArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • replicationInstanceArn

        public ReplicationTaskArgs.Builder replicationInstanceArn​(com.pulumi.core.Output<java.lang.String> replicationInstanceArn)
        Parameters:
        replicationInstanceArn - ARN of the replication instance.
        Returns:
        builder
      • replicationInstanceArn

        public ReplicationTaskArgs.Builder replicationInstanceArn​(java.lang.String replicationInstanceArn)
        Parameters:
        replicationInstanceArn - ARN of the replication instance.
        Returns:
        builder
      • replicationTaskId

        public ReplicationTaskArgs.Builder replicationTaskId​(com.pulumi.core.Output<java.lang.String> replicationTaskId)
        Parameters:
        replicationTaskId - Replication task identifier which must contain from 1 to 255 alphanumeric characters or hyphens, first character must be a letter, cannot end with a hyphen, and cannot contain two consecutive hyphens.
        Returns:
        builder
      • replicationTaskId

        public ReplicationTaskArgs.Builder replicationTaskId​(java.lang.String replicationTaskId)
        Parameters:
        replicationTaskId - Replication task identifier which must contain from 1 to 255 alphanumeric characters or hyphens, first character must be a letter, cannot end with a hyphen, and cannot contain two consecutive hyphens.
        Returns:
        builder
      • replicationTaskSettings

        public ReplicationTaskArgs.Builder replicationTaskSettings​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> replicationTaskSettings)
        Parameters:
        replicationTaskSettings - Escaped JSON string that contains the task settings. For a complete list of task settings, see [Task Settings for AWS Database Migration Service Tasks](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html). Note that `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream` are read only and should not be defined, even as `null`, in the configuration since AWS provides a value for these settings.
        Returns:
        builder
      • replicationTaskSettings

        public ReplicationTaskArgs.Builder replicationTaskSettings​(java.lang.String replicationTaskSettings)
        Parameters:
        replicationTaskSettings - Escaped JSON string that contains the task settings. For a complete list of task settings, see [Task Settings for AWS Database Migration Service Tasks](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html). Note that `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream` are read only and should not be defined, even as `null`, in the configuration since AWS provides a value for these settings.
        Returns:
        builder
      • resourceIdentifier

        public ReplicationTaskArgs.Builder resourceIdentifier​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> resourceIdentifier)
        Parameters:
        resourceIdentifier - A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object.
        Returns:
        builder
      • resourceIdentifier

        public ReplicationTaskArgs.Builder resourceIdentifier​(java.lang.String resourceIdentifier)
        Parameters:
        resourceIdentifier - A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object.
        Returns:
        builder
      • sourceEndpointArn

        public ReplicationTaskArgs.Builder sourceEndpointArn​(com.pulumi.core.Output<java.lang.String> sourceEndpointArn)
        Parameters:
        sourceEndpointArn - ARN that uniquely identifies the source endpoint.
        Returns:
        builder
      • sourceEndpointArn

        public ReplicationTaskArgs.Builder sourceEndpointArn​(java.lang.String sourceEndpointArn)
        Parameters:
        sourceEndpointArn - ARN that uniquely identifies the source endpoint.
        Returns:
        builder
      • startReplicationTask

        public ReplicationTaskArgs.Builder startReplicationTask​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> startReplicationTask)
        Parameters:
        startReplicationTask - Whether to run or stop the replication task.
        Returns:
        builder
      • startReplicationTask

        public ReplicationTaskArgs.Builder startReplicationTask​(java.lang.Boolean startReplicationTask)
        Parameters:
        startReplicationTask - Whether to run or stop the replication task.
        Returns:
        builder
      • tableMappings

        public ReplicationTaskArgs.Builder tableMappings​(com.pulumi.core.Output<java.lang.String> tableMappings)
        Parameters:
        tableMappings - 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)
        Returns:
        builder
      • tableMappings

        public ReplicationTaskArgs.Builder tableMappings​(java.lang.String tableMappings)
        Parameters:
        tableMappings - 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)
        Returns:
        builder
      • tags

        public ReplicationTaskArgs.Builder tags​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ReplicationTaskArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • targetEndpointArn

        public ReplicationTaskArgs.Builder targetEndpointArn​(com.pulumi.core.Output<java.lang.String> targetEndpointArn)
        Parameters:
        targetEndpointArn - ARN that uniquely identifies the target endpoint.
        Returns:
        builder
      • targetEndpointArn

        public ReplicationTaskArgs.Builder targetEndpointArn​(java.lang.String targetEndpointArn)
        Parameters:
        targetEndpointArn - ARN that uniquely identifies the target endpoint.
        Returns:
        builder