Interface GetEncryptionConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEncryptionConfigResponse.Builder,
,GetEncryptionConfigResponse> SdkBuilder<GetEncryptionConfigResponse.Builder,
,GetEncryptionConfigResponse> SdkPojo
,SdkResponse.Builder
,XRayResponse.Builder
- Enclosing class:
GetEncryptionConfigResponse
public static interface GetEncryptionConfigResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetEncryptionConfigResponse.Builder,GetEncryptionConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionConfig
(Consumer<EncryptionConfig.Builder> encryptionConfig) The encryption configuration document.encryptionConfig
(EncryptionConfig encryptionConfig) The encryption configuration document.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 encryption configuration document.
- Parameters:
encryptionConfig
- The encryption configuration document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default GetEncryptionConfigResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The encryption configuration document.
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:
-