@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultServerSideEncryption extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the server side encryption method used in the S3 bucket. See S3 Server-Side Encryption for more information.
| Constructor and Description |
|---|
DefaultServerSideEncryption() |
| Modifier and Type | Method and Description |
|---|---|
DefaultServerSideEncryption |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType()
The type of encryption used for objects within the S3 bucket.
|
String |
getKmsMasterKeyArn()
The Amazon Resource Name (ARN) of the KMS encryption key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEncryptionType(String encryptionType)
The type of encryption used for objects within the S3 bucket.
|
void |
setKmsMasterKeyArn(String kmsMasterKeyArn)
The Amazon Resource Name (ARN) of the KMS encryption key.
|
String |
toString()
Returns a string representation of this object.
|
DefaultServerSideEncryption |
withEncryptionType(String encryptionType)
The type of encryption used for objects within the S3 bucket.
|
DefaultServerSideEncryption |
withKmsMasterKeyArn(String kmsMasterKeyArn)
The Amazon Resource Name (ARN) of the KMS encryption key.
|
public void setEncryptionType(String encryptionType)
The type of encryption used for objects within the S3 bucket.
encryptionType - The type of encryption used for objects within the S3 bucket.public String getEncryptionType()
The type of encryption used for objects within the S3 bucket.
public DefaultServerSideEncryption withEncryptionType(String encryptionType)
The type of encryption used for objects within the S3 bucket.
encryptionType - The type of encryption used for objects within the S3 bucket.public void setKmsMasterKeyArn(String kmsMasterKeyArn)
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionType is aws:kms.
kmsMasterKeyArn - The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionType is aws:kms.public String getKmsMasterKeyArn()
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionType is aws:kms.
EncryptionType is aws:kms.public DefaultServerSideEncryption withKmsMasterKeyArn(String kmsMasterKeyArn)
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionType is aws:kms.
kmsMasterKeyArn - The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionType is aws:kms.public String toString()
toString in class ObjectObject.toString()public DefaultServerSideEncryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.