@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KMSEncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an encryption key for a destination in Amazon S3.
Constructor and Description |
---|
KMSEncryptionConfig() |
Modifier and Type | Method and Description |
---|---|
KMSEncryptionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAWSKMSKeyARN()
The ARN of the encryption key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
KMSEncryptionConfig |
withAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key.
|
public void setAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
aWSKMSKeyARN
- The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.public String getAWSKMSKeyARN()
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
public KMSEncryptionConfig withAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
aWSKMSKeyARN
- The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.public String toString()
toString
in class Object
Object.toString()
public KMSEncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.