public class ServerSideEncryptionRule extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ServerSideEncryptionRule() |
Modifier and Type | Method and Description |
---|---|
ServerSideEncryptionRule |
clone() |
boolean |
equals(Object obj) |
ServerSideEncryptionByDefault |
getApplyServerSideEncryptionByDefault()
Describes the default server-side encryption to apply to new objects in the bucket.
|
int |
hashCode() |
void |
setApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Sets the default server-side encryption to apply to new objects in the bucket.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServerSideEncryptionRule |
withApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Sets the default server-side encryption to apply to new objects in the bucket.
|
public ServerSideEncryptionByDefault getApplyServerSideEncryptionByDefault()
ServerSideEncryptionByDefault
public void setApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
applyServerSideEncryptionByDefault
- New default SSE configuration.public ServerSideEncryptionRule withApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
applyServerSideEncryptionByDefault
- New default SSE configuration.public String toString()
toString
in class Object
Object.toString()
public ServerSideEncryptionRule clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.