public class ServerSideEncryptionByDefault extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ServerSideEncryptionByDefault() |
Modifier and Type | Method and Description |
---|---|
ServerSideEncryptionByDefault |
clone() |
boolean |
equals(Object obj) |
String |
getKMSMasterKeyID() |
String |
getSSEAlgorithm() |
int |
hashCode() |
void |
setKMSMasterKeyID(String kmsMasterKeyID)
Sets the KMS master key ID to use for the default encryption.
|
void |
setSSEAlgorithm(String sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServerSideEncryptionByDefault |
withKMSMasterKeyID(String kmsMasterKeyID)
Sets the KMS master key ID to use for the default encryption.
|
ServerSideEncryptionByDefault |
withSSEAlgorithm(SSEAlgorithm sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
ServerSideEncryptionByDefault |
withSSEAlgorithm(String sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
public String getSSEAlgorithm()
public void setSSEAlgorithm(String sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public ServerSideEncryptionByDefault withSSEAlgorithm(String sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public ServerSideEncryptionByDefault withSSEAlgorithm(SSEAlgorithm sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public String getKMSMasterKeyID()
public void setKMSMasterKeyID(String kmsMasterKeyID)
kmsMasterKeyID
- KMS key to use.public ServerSideEncryptionByDefault withKMSMasterKeyID(String kmsMasterKeyID)
kmsMasterKeyID
- KMS key to use.public String toString()
toString
in class Object
Object.toString()
public ServerSideEncryptionByDefault clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.