Interface CreateDataMigrationRequest.Builder

  • Method Details

    • dataMigrationName

      CreateDataMigrationRequest.Builder dataMigrationName(String dataMigrationName)

      A user-friendly name for the data migration. Data migration names have the following constraints:

      • Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.

      • Can't end with a hyphen or contain two consecutive hyphens.

      • Length must be from 1 to 255 characters.

      Parameters:
      dataMigrationName - A user-friendly name for the data migration. Data migration names have the following constraints:

      • Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.

      • Can't end with a hyphen or contain two consecutive hyphens.

      • Length must be from 1 to 255 characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationProjectIdentifier

      CreateDataMigrationRequest.Builder migrationProjectIdentifier(String migrationProjectIdentifier)

      An identifier for the migration project.

      Parameters:
      migrationProjectIdentifier - An identifier for the migration project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataMigrationType

      CreateDataMigrationRequest.Builder dataMigrationType(String dataMigrationType)

      Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.

      Parameters:
      dataMigrationType - Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataMigrationType

      CreateDataMigrationRequest.Builder dataMigrationType(MigrationTypeValue dataMigrationType)

      Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.

      Parameters:
      dataMigrationType - Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceAccessRoleArn

      CreateDataMigrationRequest.Builder serviceAccessRoleArn(String serviceAccessRoleArn)

      The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.

      Parameters:
      serviceAccessRoleArn - The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableCloudwatchLogs

      CreateDataMigrationRequest.Builder enableCloudwatchLogs(Boolean enableCloudwatchLogs)

      Specifies whether to enable CloudWatch logs for the data migration.

      Parameters:
      enableCloudwatchLogs - Specifies whether to enable CloudWatch logs for the data migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceDataSettings

      CreateDataMigrationRequest.Builder sourceDataSettings(Collection<SourceDataSetting> sourceDataSettings)

      Specifies information about the source data provider.

      Parameters:
      sourceDataSettings - Specifies information about the source data provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceDataSettings

      CreateDataMigrationRequest.Builder sourceDataSettings(SourceDataSetting... sourceDataSettings)

      Specifies information about the source data provider.

      Parameters:
      sourceDataSettings - Specifies information about the source data provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceDataSettings

      CreateDataMigrationRequest.Builder sourceDataSettings(Consumer<SourceDataSetting.Builder>... sourceDataSettings)

      Specifies information about the source data provider.

      This is a convenience method that creates an instance of the SourceDataSetting.Builder avoiding the need to create one manually via SourceDataSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceDataSettings(List<SourceDataSetting>).

      Parameters:
      sourceDataSettings - a consumer that will call methods on SourceDataSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetDataSettings

      CreateDataMigrationRequest.Builder targetDataSettings(Collection<TargetDataSetting> targetDataSettings)

      Specifies information about the target data provider.

      Parameters:
      targetDataSettings - Specifies information about the target data provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetDataSettings

      CreateDataMigrationRequest.Builder targetDataSettings(TargetDataSetting... targetDataSettings)

      Specifies information about the target data provider.

      Parameters:
      targetDataSettings - Specifies information about the target data provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetDataSettings

      CreateDataMigrationRequest.Builder targetDataSettings(Consumer<TargetDataSetting.Builder>... targetDataSettings)

      Specifies information about the target data provider.

      This is a convenience method that creates an instance of the TargetDataSetting.Builder avoiding the need to create one manually via TargetDataSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetDataSettings(List<TargetDataSetting>).

      Parameters:
      targetDataSettings - a consumer that will call methods on TargetDataSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numberOfJobs

      CreateDataMigrationRequest.Builder numberOfJobs(Integer numberOfJobs)

      The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.

      Parameters:
      numberOfJobs - The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      One or more tags to be assigned to the data migration.

      Parameters:
      tags - One or more tags to be assigned to the data migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      One or more tags to be assigned to the data migration.

      Parameters:
      tags - One or more tags to be assigned to the data migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      One or more tags to be assigned to the data migration.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectionRules

      CreateDataMigrationRequest.Builder selectionRules(String selectionRules)

      An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.

      Parameters:
      selectionRules - An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateDataMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.