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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerSideEncryption.BuilderencryptionType(String encryptionType)The server-side encryption algorithm that's used when storing data in the bucket or object.ServerSideEncryption.BuilderencryptionType(EncryptionType encryptionType)The server-side encryption algorithm that's used when storing data in the bucket or object.ServerSideEncryption.BuilderkmsMasterKeyId(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 Detail
-
encryptionType
ServerSideEncryption.Builder encryptionType(String 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,EncryptionType
-
encryptionType
ServerSideEncryption.Builder encryptionType(EncryptionType 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,EncryptionType
-
kmsMasterKeyId
ServerSideEncryption.Builder 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. 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.
-
-