Interface ServerSideEncryption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerSideEncryption.Builder,
,ServerSideEncryption> SdkBuilder<ServerSideEncryption.Builder,
,ServerSideEncryption> SdkPojo
- Enclosing class:
ServerSideEncryption
public static interface ServerSideEncryption.Builder
extends SdkPojo, CopyableBuilder<ServerSideEncryption.Builder,ServerSideEncryption>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionType
(String encryptionType) The server-side encryption algorithm that's used when storing data in the bucket or object.encryptionType
(EncryptionType encryptionType) The server-side encryption algorithm that's used when storing data in the bucket or object.kmsMasterKeyId
(String kmsMasterKeyId) The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object.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, sdkFields
-
Method Details
-
encryptionType
The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
- Parameters:
encryptionType
- The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionType
The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
- Parameters:
encryptionType
- The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsMasterKeyId
The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.
- Parameters:
kmsMasterKeyId
- The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-