Interface GetBucketReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketReplicationResponse.Builder,,GetBucketReplicationResponse> S3Response.Builder,SdkBuilder<GetBucketReplicationResponse.Builder,,GetBucketReplicationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBucketReplicationResponse
public static interface GetBucketReplicationResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketReplicationResponse.Builder,GetBucketReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationConfiguration(Consumer<ReplicationConfiguration.Builder> replicationConfiguration) Sets the value of the ReplicationConfiguration property for this object.replicationConfiguration(ReplicationConfiguration replicationConfiguration) Sets the value of the ReplicationConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.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
-
replicationConfiguration
GetBucketReplicationResponse.Builder replicationConfiguration(ReplicationConfiguration replicationConfiguration) Sets the value of the ReplicationConfiguration property for this object.- Parameters:
replicationConfiguration- The new value for the ReplicationConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfiguration
default GetBucketReplicationResponse.Builder replicationConfiguration(Consumer<ReplicationConfiguration.Builder> replicationConfiguration) Sets the value of the ReplicationConfiguration property for this object. This is a convenience method that creates an instance of theReplicationConfiguration.Builderavoiding the need to create one manually viaReplicationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationConfiguration(ReplicationConfiguration).- Parameters:
replicationConfiguration- a consumer that will call methods onReplicationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-