@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketServerSideEncryptionRule extends Object implements Serializable, Cloneable, StructuredPojo
An encryption rule to apply to the S3 bucket.
Constructor and Description |
---|
AwsS3BucketServerSideEncryptionRule() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketServerSideEncryptionRule |
clone() |
boolean |
equals(Object obj) |
AwsS3BucketServerSideEncryptionByDefault |
getApplyServerSideEncryptionByDefault()
Specifies the default server-side encryption to apply to new objects in the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketServerSideEncryptionRule |
withApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket.
|
public void setApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT
object
request doesn't specify any server-side encryption, this default encryption is applied.
applyServerSideEncryptionByDefault
- Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT
object request doesn't specify any server-side encryption, this default encryption is applied.public AwsS3BucketServerSideEncryptionByDefault getApplyServerSideEncryptionByDefault()
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT
object
request doesn't specify any server-side encryption, this default encryption is applied.
PUT
object request doesn't specify any server-side encryption, this default encryption is applied.public AwsS3BucketServerSideEncryptionRule withApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT
object
request doesn't specify any server-side encryption, this default encryption is applied.
applyServerSideEncryptionByDefault
- Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT
object request doesn't specify any server-side encryption, this default encryption is applied.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketServerSideEncryptionRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.