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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods 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.Builder
avoiding the need to create one manually viaEncryptionConfig.builder()
.When the
Consumer
completes,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:
-