Interface GetTableBucketReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTableBucketReplicationResponse.Builder,,GetTableBucketReplicationResponse> S3TablesResponse.Builder,SdkBuilder<GetTableBucketReplicationResponse.Builder,,GetTableBucketReplicationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTableBucketReplicationResponse
@Mutable
@NotThreadSafe
public static interface GetTableBucketReplicationResponse.Builder
extends S3TablesResponse.Builder, SdkPojo, CopyableBuilder<GetTableBucketReplicationResponse.Builder,GetTableBucketReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<TableBucketReplicationConfiguration.Builder> configuration) The replication configuration for the table bucket, including the IAM role and replication rules.configuration(TableBucketReplicationConfiguration configuration) The replication configuration for the table bucket, including the IAM role and replication rules.versionToken(String versionToken) A version token that represents the current state of the 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 replication configuration. Use this token when updating the configuration to ensure consistency.
- Parameters:
versionToken- A version token that represents the current state of the 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
GetTableBucketReplicationResponse.Builder configuration(TableBucketReplicationConfiguration configuration) The replication configuration for the table bucket, including the IAM role and replication rules.
- Parameters:
configuration- The replication configuration for the table bucket, including the IAM role and replication rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetTableBucketReplicationResponse.Builder configuration(Consumer<TableBucketReplicationConfiguration.Builder> configuration) The replication configuration for the table bucket, including the IAM role and replication rules.
This is a convenience method that creates an instance of theTableBucketReplicationConfiguration.Builderavoiding the need to create one manually viaTableBucketReplicationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(TableBucketReplicationConfiguration).- Parameters:
configuration- a consumer that will call methods onTableBucketReplicationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-