@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketServerSideEncryptionByDefault extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the default server-side encryption to apply to new objects in the bucket.
Constructor and Description |
---|
AwsS3BucketServerSideEncryptionByDefault() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketServerSideEncryptionByDefault |
clone() |
boolean |
equals(Object obj) |
String |
getKMSMasterKeyID()
KMS key ID to use for the default encryption.
|
String |
getSSEAlgorithm()
Server-side encryption algorithm to use for the default encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKMSMasterKeyID(String kMSMasterKeyID)
KMS key ID to use for the default encryption.
|
void |
setSSEAlgorithm(String sSEAlgorithm)
Server-side encryption algorithm to use for the default encryption.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketServerSideEncryptionByDefault |
withKMSMasterKeyID(String kMSMasterKeyID)
KMS key ID to use for the default encryption.
|
AwsS3BucketServerSideEncryptionByDefault |
withSSEAlgorithm(String sSEAlgorithm)
Server-side encryption algorithm to use for the default encryption.
|
public AwsS3BucketServerSideEncryptionByDefault()
public void setSSEAlgorithm(String sSEAlgorithm)
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms
or
AES256
.
sSEAlgorithm
- Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms
or AES256
.public String getSSEAlgorithm()
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms
or
AES256
.
aws: kms
or AES256
.public AwsS3BucketServerSideEncryptionByDefault withSSEAlgorithm(String sSEAlgorithm)
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms
or
AES256
.
sSEAlgorithm
- Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms
or AES256
.public void setKMSMasterKeyID(String kMSMasterKeyID)
KMS key ID to use for the default encryption.
kMSMasterKeyID
- KMS key ID to use for the default encryption.public String getKMSMasterKeyID()
KMS key ID to use for the default encryption.
public AwsS3BucketServerSideEncryptionByDefault withKMSMasterKeyID(String kMSMasterKeyID)
KMS key ID to use for the default encryption.
kMSMasterKeyID
- KMS key ID to use for the default encryption.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketServerSideEncryptionByDefault clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.