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
Modifier and TypeMethodDescriptiondefault ObjectEncryption.BuilderSpecifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys (SSE-KMS).ssekms(S3UpdateObjectEncryptionSSEKMS 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 theS3UpdateObjectEncryptionSSEKMS.Builderavoiding the need to create one manually viaS3UpdateObjectEncryptionSSEKMS.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tossekms(S3UpdateObjectEncryptionSSEKMS).- Parameters:
ssekms- a consumer that will call methods onS3UpdateObjectEncryptionSSEKMS.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-