public class SSEAwsKeyManagementParams extends Object implements Serializable
Constructor and Description |
---|
SSEAwsKeyManagementParams()
Constructs a new instance of SSEAwsKeyManagementParams.
|
SSEAwsKeyManagementParams(SSEAlgorithm sseAlgorithm)
Use Default KMS key with SSE-KMS or SSE-DSSE
|
SSEAwsKeyManagementParams(String awsKmsKeyId)
Constructs a new instance of SSEAwsKeyManagementParams with the user
specified Amazon Web Services Key Management System Key Id.
|
SSEAwsKeyManagementParams(String awsKmsKeyId,
SSEAlgorithm sseAlgorithm)
Constructs a new instance of SSEAwsKeyManagementParams with the user
specified Amazon Web Services Key Management System Key Id and SSEAlgorithm
|
SSEAwsKeyManagementParams(String awsKmsKeyId,
String sseAlgorithm)
Constructs a new instance of SSEAwsKeyManagementParams with the user
specified Amazon Web Services Key Management System Key Id and SSEAlgorithm as String
|
Modifier and Type | Method and Description |
---|---|
String |
getAwsKmsEncryptionContext() |
String |
getAwsKmsKeyId()
Returns the Amazon Web Services Key Management System Key Id used for encryption.
|
String |
getEncryption()
Returns the scheme used for encrypting the Amazon S3 object.
|
SSEAwsKeyManagementParams |
withAwsKmsEncryptionContext(String awsKmsEncryptionContext)
Sets the awsKmsEncryptionContext
|
SSEAwsKeyManagementParams |
withAwsKmsKeyId(String awsKmsKeyId)
Sets the awsKmsKeyId
|
SSEAwsKeyManagementParams |
withSseAlgorithm(String sseAlgorithm)
Sets the sseAlgorithm
|
public SSEAwsKeyManagementParams()
public SSEAwsKeyManagementParams(String awsKmsKeyId)
public SSEAwsKeyManagementParams(String awsKmsKeyId, SSEAlgorithm sseAlgorithm)
public SSEAwsKeyManagementParams(String awsKmsKeyId, String sseAlgorithm)
public SSEAwsKeyManagementParams(SSEAlgorithm sseAlgorithm)
public String getAwsKmsKeyId()
public SSEAwsKeyManagementParams withAwsKmsKeyId(String awsKmsKeyId)
awsKmsKeyId
- The new awsKmsKeyId value.public SSEAwsKeyManagementParams withSseAlgorithm(String sseAlgorithm)
sseAlgorithm
- The new sseAlgorithm value.public String getEncryption()
public String getAwsKmsEncryptionContext()
public SSEAwsKeyManagementParams withAwsKmsEncryptionContext(String awsKmsEncryptionContext)
awsKmsEncryptionContext
- The new awsKmsEncryptionContext value.