Interface GetEncryptionConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEncryptionConfigResponse.Builder,,GetEncryptionConfigResponse> SdkBuilder<GetEncryptionConfigResponse.Builder,,GetEncryptionConfigResponse> SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
GetEncryptionConfigResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 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.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:
-