public static interface PutEncryptionConfigResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<PutEncryptionConfigResponse.Builder,PutEncryptionConfigResponse>
Modifier and Type | Method and Description |
---|---|
default PutEncryptionConfigResponse.Builder |
encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
The new encryption configuration.
|
PutEncryptionConfigResponse.Builder |
encryptionConfig(EncryptionConfig encryptionConfig)
The new encryption configuration.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutEncryptionConfigResponse.Builder encryptionConfig(EncryptionConfig encryptionConfig)
The new encryption configuration.
encryptionConfig
- The new encryption configuration.default PutEncryptionConfigResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
The new encryption configuration.
This is a convenience that creates an instance of theEncryptionConfig.Builder
avoiding the need to
create one manually via EncryptionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryptionConfig(EncryptionConfig)
.encryptionConfig
- a consumer that will call methods on EncryptionConfig.Builder
encryptionConfig(EncryptionConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.