Interface PutTableReplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutTableReplicationRequest.Builder,,PutTableReplicationRequest> S3TablesRequest.Builder,SdkBuilder<PutTableReplicationRequest.Builder,,PutTableReplicationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutTableReplicationRequest
@Mutable
@NotThreadSafe
public static interface PutTableReplicationRequest.Builder
extends S3TablesRequest.Builder, SdkPojo, CopyableBuilder<PutTableReplicationRequest.Builder,PutTableReplicationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<TableReplicationConfiguration.Builder> configuration) The replication configuration to apply to the table, including the IAM role and replication rules.configuration(TableReplicationConfiguration configuration) The replication configuration to apply to the table, including the IAM role and replication rules.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the source table.versionToken(String versionToken) A version token from a previous GetTableReplication call.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
-
tableArn
The Amazon Resource Name (ARN) of the source table.
- Parameters:
tableArn- The Amazon Resource Name (ARN) of the source table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionToken
A version token from a previous GetTableReplication call. Use this token to ensure you're updating the expected version of the configuration.
- Parameters:
versionToken- A version token from a previous GetTableReplication call. Use this token to ensure you're updating the expected version of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The replication configuration to apply to the table, including the IAM role and replication rules.
- Parameters:
configuration- The replication configuration to apply to the table, including the IAM role and replication rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default PutTableReplicationRequest.Builder configuration(Consumer<TableReplicationConfiguration.Builder> configuration) The replication configuration to apply to the table, including the IAM role and replication rules.
This is a convenience method that creates an instance of theTableReplicationConfiguration.Builderavoiding the need to create one manually viaTableReplicationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(TableReplicationConfiguration).- Parameters:
configuration- a consumer that will call methods onTableReplicationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutTableReplicationRequest.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
PutTableReplicationRequest.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.
-