Interface PutEncryptionConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutEncryptionConfigResponse.Builder,PutEncryptionConfigResponse>,SdkBuilder<PutEncryptionConfigResponse.Builder,PutEncryptionConfigResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- PutEncryptionConfigResponse
@Mutable @NotThreadSafe public static interface PutEncryptionConfigResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<PutEncryptionConfigResponse.Builder,PutEncryptionConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutEncryptionConfigResponse.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)The new encryption configuration.PutEncryptionConfigResponse.BuilderencryptionConfig(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, sdkFieldNameToField, 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 Detail
-
encryptionConfig
PutEncryptionConfigResponse.Builder encryptionConfig(EncryptionConfig 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:
encryptionConfig(EncryptionConfig)
-
-