Interface SyncTableMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SyncTableMigrationRequest.Builder,,SyncTableMigrationRequest> S3TablesRequest.Builder,SdkBuilder<SyncTableMigrationRequest.Builder,,SyncTableMigrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SyncTableMigrationRequest
-
Method Summary
Modifier and TypeMethodDescriptionmigrationOutput(Consumer<MigrationOutputConfiguration.Builder> migrationOutput) The bucket and prefixes that the sync writes its reports to.migrationOutput(MigrationOutputConfiguration migrationOutput) The bucket and prefixes that the sync 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 sync 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 sync uses to read the source table and its data and to write the destination table and the reports.The Amazon Resource Name (ARN) of the destination table to sync.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 sync 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 sync 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.
-
tableARN
The Amazon Resource Name (ARN) of the destination table to sync. The table must have a migration, and you must not have called
CompleteTableMigrationfor it.- Parameters:
tableARN- The Amazon Resource Name (ARN) of the destination table to sync. The table must have a migration, and you must not have calledCompleteTableMigrationfor it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewMigrationPlan
Specifies whether the sync waits in the
pendingReviewstate, so that you can review the compatibility reports before it migrates any data. Valid values:-
true- The sync waits inpendingReviewuntil you callUpdateTableMigrationwithrequestedStateset toqueued. If you don't continue or cancel the sync within 30 days, the sync fails withinternalError. -
false- The sync continues without waiting for review. This is the default.
- Parameters:
reviewMigrationPlan- Specifies whether the sync waits in thependingReviewstate, so that you can review the compatibility reports before it migrates any data. Valid values:-
true- The sync waits inpendingReviewuntil you callUpdateTableMigrationwithrequestedStateset toqueued. If you don't continue or cancel the sync within 30 days, the sync fails withinternalError. -
false- The sync 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 sync 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 sync 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 SyncTableMigrationRequest.Builder migrationOutput(Consumer<MigrationOutputConfiguration.Builder> migrationOutput) The bucket and prefixes that the sync 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
SyncTableMigrationRequest.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
SyncTableMigrationRequest.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.
-