Interface PutEncryptionConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutEncryptionConfigResponse.Builder,,PutEncryptionConfigResponse> SdkBuilder<PutEncryptionConfigResponse.Builder,,PutEncryptionConfigResponse> SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
PutEncryptionConfigResponse
public static interface PutEncryptionConfigResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<PutEncryptionConfigResponse.Builder,PutEncryptionConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The new encryption configuration.encryptionConfig(EncryptionConfig encryptionConfig) The new encryption configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
encryptionConfig
The new encryption configuration.
- Parameters:
encryptionConfig- The new encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default PutEncryptionConfigResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The new encryption configuration.
This is a convenience method that creates an instance of theEncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(EncryptionConfig).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-