Interface GetBucketEncryptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketEncryptionResponse.Builder,,GetBucketEncryptionResponse> S3Response.Builder,SdkBuilder<GetBucketEncryptionResponse.Builder,,GetBucketEncryptionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBucketEncryptionResponse
public static interface GetBucketEncryptionResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketEncryptionResponse.Builder,GetBucketEncryptionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionserverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) Sets the value of the ServerSideEncryptionConfiguration property for this object.serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) Sets the value of the ServerSideEncryptionConfiguration 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serverSideEncryptionConfiguration
GetBucketEncryptionResponse.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) Sets the value of the ServerSideEncryptionConfiguration property for this object.- Parameters:
serverSideEncryptionConfiguration- The new value for the ServerSideEncryptionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default GetBucketEncryptionResponse.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) Sets the value of the ServerSideEncryptionConfiguration property for this object. This is a convenience method that creates an instance of theServerSideEncryptionConfiguration.Builderavoiding the need to create one manually viaServerSideEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration).- Parameters:
serverSideEncryptionConfiguration- a consumer that will call methods onServerSideEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-