Interface GetTableReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTableReplicationResponse.Builder,,GetTableReplicationResponse> S3TablesResponse.Builder,SdkBuilder<GetTableReplicationResponse.Builder,,GetTableReplicationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTableReplicationResponse
@Mutable
@NotThreadSafe
public static interface GetTableReplicationResponse.Builder
extends S3TablesResponse.Builder, SdkPojo, CopyableBuilder<GetTableReplicationResponse.Builder,GetTableReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<TableReplicationConfiguration.Builder> configuration) The replication configuration for the table, including the IAM role and replication rules.configuration(TableReplicationConfiguration configuration) The replication configuration for the table, including the IAM role and replication rules.versionToken(String versionToken) A version token that represents the current state of the table's replication configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3tables.model.S3TablesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
versionToken
A version token that represents the current state of the table's replication configuration. Use this token when updating the configuration to ensure consistency.
- Parameters:
versionToken- A version token that represents the current state of the table's replication configuration. Use this token when updating the configuration to ensure consistency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The replication configuration for the table, including the IAM role and replication rules.
- Parameters:
configuration- The replication configuration for 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 GetTableReplicationResponse.Builder configuration(Consumer<TableReplicationConfiguration.Builder> configuration) The replication configuration for 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:
-