@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerSideEncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The KMS key used for encryption.
Constructor and Description |
---|
ServerSideEncryptionConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServerSideEncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyId()
The KMS key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyId(String kmsKeyId)
The KMS key.
|
String |
toString()
Returns a string representation of this object.
|
ServerSideEncryptionConfiguration |
withKmsKeyId(String kmsKeyId)
The KMS key.
|
public void setKmsKeyId(String kmsKeyId)
The KMS key. For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide.
kmsKeyId
- The KMS key. For information about valid ID values, see Key identifiers
(KeyId) in the AWS Key Management Service Developer Guide.public String getKmsKeyId()
The KMS key. For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide.
public ServerSideEncryptionConfiguration withKmsKeyId(String kmsKeyId)
The KMS key. For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide.
kmsKeyId
- The KMS key. For information about valid ID values, see Key identifiers
(KeyId) in the AWS Key Management Service Developer Guide.public String toString()
toString
in class Object
Object.toString()
public ServerSideEncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.