Interface StartTableMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartTableMigrationRequest.Builder,,StartTableMigrationRequest> S3TablesRequest.Builder,SdkBuilder<StartTableMigrationRequest.Builder,,StartTableMigrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartTableMigrationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataMigration(Consumer<DataMigrationSettings.Builder> dataMigration) The maintenance settings and migration policies for the destination table.dataMigration(DataMigrationSettings dataMigration) The maintenance settings and migration policies for the destination table.destinationTable(Consumer<DestinationTable.Builder> destinationTable) The table to create and migrate the source into.destinationTable(DestinationTable destinationTable) The table to create and migrate the source into.migrationOutput(Consumer<MigrationOutputConfiguration.Builder> migrationOutput) The bucket and prefixes that the migration writes its reports to.migrationOutput(MigrationOutputConfiguration migrationOutput) The bucket and prefixes that the migration writes its reports to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reviewMigrationPlan(Boolean reviewMigrationPlan) Specifies whether the migration waits in thependingReviewstate, so that you can review the compatibility reports before it migrates any data.The Amazon Resource Name (ARN) of the IAM role that the migration uses to read the source table and its data and to write the destination table and the reports.source(Consumer<SourceConfiguration.Builder> source) The source table to migrate.source(SourceConfiguration source) The source table to migrate.sourceType(String sourceType) The type of the source.sourceType(MigrationSourceType sourceType) The type of the source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3tables.model.S3TablesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
roleARN
The Amazon Resource Name (ARN) of the IAM role that the migration uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allow
migration---s3tables.amazonaws.com.rproxy.govskope.cato assume it. You can limit the trust policy to the destination table bucket with theaws:SourceArnandaws:SourceAccountcondition keys.- Parameters:
roleARN- The Amazon Resource Name (ARN) of the IAM role that the migration uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allowmigration---s3tables.amazonaws.com.rproxy.govskope.cato assume it. You can limit the trust policy to the destination table bucket with theaws:SourceArnandaws:SourceAccountcondition keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTable
The table to create and migrate the source into.
- Parameters:
destinationTable- The table to create and migrate the source into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTable
default StartTableMigrationRequest.Builder destinationTable(Consumer<DestinationTable.Builder> destinationTable) The table to create and migrate the source into.
This is a convenience method that creates an instance of theDestinationTable.Builderavoiding the need to create one manually viaDestinationTable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationTable(DestinationTable).- Parameters:
destinationTable- a consumer that will call methods onDestinationTable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of the source. It must match the member that you set in
source.- Parameters:
sourceType- The type of the source. It must match the member that you set insource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of the source. It must match the member that you set in
source.- Parameters:
sourceType- The type of the source. It must match the member that you set insource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source table to migrate.
- Parameters:
source- The source table to migrate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source table to migrate.
This is a convenience method that creates an instance of theSourceConfiguration.Builderavoiding the need to create one manually viaSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(SourceConfiguration).- Parameters:
source- a consumer that will call methods onSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataMigration
The maintenance settings and migration policies for the destination table.
- Parameters:
dataMigration- The maintenance settings and migration policies for the destination table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataMigration
default StartTableMigrationRequest.Builder dataMigration(Consumer<DataMigrationSettings.Builder> dataMigration) The maintenance settings and migration policies for the destination table.
This is a convenience method that creates an instance of theDataMigrationSettings.Builderavoiding the need to create one manually viaDataMigrationSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataMigration(DataMigrationSettings).- Parameters:
dataMigration- a consumer that will call methods onDataMigrationSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reviewMigrationPlan
Specifies whether the migration waits in the
pendingReviewstate, so that you can review the compatibility reports before it migrates any data. Valid values:-
true- The migration waits inpendingReviewuntil you callUpdateTableMigrationwithrequestedStateset toqueued. If you don't continue or cancel the migration within 30 days, the migration fails withinternalError. -
false- The migration continues without waiting for review. This is the default.
- Parameters:
reviewMigrationPlan- Specifies whether the migration waits in thependingReviewstate, so that you can review the compatibility reports before it migrates any data. Valid values:-
true- The migration waits inpendingReviewuntil you callUpdateTableMigrationwithrequestedStateset toqueued. If you don't continue or cancel the migration within 30 days, the migration fails withinternalError. -
false- The migration continues without waiting for review. This is the default.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
migrationOutput
The bucket and prefixes that the migration writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.
- Parameters:
migrationOutput- The bucket and prefixes that the migration writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationOutput
default StartTableMigrationRequest.Builder migrationOutput(Consumer<MigrationOutputConfiguration.Builder> migrationOutput) The bucket and prefixes that the migration writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.
This is a convenience method that creates an instance of theMigrationOutputConfiguration.Builderavoiding the need to create one manually viaMigrationOutputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomigrationOutput(MigrationOutputConfiguration).- Parameters:
migrationOutput- a consumer that will call methods onMigrationOutputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartTableMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartTableMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-