Interface ObjectEncryption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ObjectEncryption.Builder,ObjectEncryption>,SdkBuilder<ObjectEncryption.Builder,ObjectEncryption>,SdkPojo
- Enclosing class:
- ObjectEncryption
@Mutable @NotThreadSafe public static interface ObjectEncryption.Builder extends SdkPojo, CopyableBuilder<ObjectEncryption.Builder,ObjectEncryption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ObjectEncryption.Builderssekms(Consumer<SSEKMSEncryption.Builder> ssekms)Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).ObjectEncryption.Builderssekms(SSEKMSEncryption ssekms)Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).-
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
-
-
-
-
Method Detail
-
ssekms
ObjectEncryption.Builder ssekms(SSEKMSEncryption ssekms)
Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
- Parameters:
ssekms- Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekms
default ObjectEncryption.Builder ssekms(Consumer<SSEKMSEncryption.Builder> ssekms)
Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This is a convenience method that creates an instance of theSSEKMSEncryption.Builderavoiding the need to create one manually viaSSEKMSEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tossekms(SSEKMSEncryption).- Parameters:
ssekms- a consumer that will call methods onSSEKMSEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ssekms(SSEKMSEncryption)
-
-