Package com.amazonaws.services.s3.model
Class SSEAwsKeyManagementParams
- java.lang.Object
-
- com.amazonaws.services.s3.model.SSEAwsKeyManagementParams
-
- All Implemented Interfaces:
Serializable
public class SSEAwsKeyManagementParams extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SSEAwsKeyManagementParams()
Constructs a new instance of SSEAwsKeyManagementParams.SSEAwsKeyManagementParams(String awsKmsKeyId)
Constructs a new instance of SSEAwsKeyManagementParams with the user specified AWS Key Management System Key Id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAwsKmsKeyId()
Returns the AWS Key Management System Key Id used for encryption.String
getEncryption()
Returns the scheme used for encrypting the Amazon S3 object.
-
-
-
Constructor Detail
-
SSEAwsKeyManagementParams
public SSEAwsKeyManagementParams()
Constructs a new instance of SSEAwsKeyManagementParams. The default AWS KMS Key id is used for encryption.
-
SSEAwsKeyManagementParams
public SSEAwsKeyManagementParams(String awsKmsKeyId)
Constructs a new instance of SSEAwsKeyManagementParams with the user specified AWS Key Management System Key Id.
-
-
Method Detail
-
getAwsKmsKeyId
public String getAwsKmsKeyId()
Returns the AWS Key Management System Key Id used for encryption. Returns null if default Key Id is used.
-
getEncryption
public String getEncryption()
Returns the scheme used for encrypting the Amazon S3 object. Currently the encryption is always "aws:kms".
-
-