@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerSideEncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the configuration for server-side encryption.
Constructor and Description |
---|
ServerSideEncryptionConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServerSideEncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
|
String |
toString()
Returns a string representation of this object.
|
ServerSideEncryptionConfiguration |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
|
public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
public ServerSideEncryptionConfiguration withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.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.