public class KMSEncryptionConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an encryption key for a destination in Amazon S3.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
aWSKMSKeyARN
The ARN of the encryption key.
|
Constructor and Description |
---|
KMSEncryptionConfig() |
Modifier and Type | Method and Description |
---|---|
KMSEncryptionConfig |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAWSKMSKeyARN()
The ARN of the encryption key.
|
int |
hashCode() |
void |
setAWSKMSKeyARN(java.lang.String aWSKMSKeyARN)
The ARN of the encryption key.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
KMSEncryptionConfig |
withAWSKMSKeyARN(java.lang.String aWSKMSKeyARN)
The ARN of the encryption key.
|
private java.lang.String aWSKMSKeyARN
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
public void setAWSKMSKeyARN(java.lang.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 java.lang.String getAWSKMSKeyARN()
The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket.
public KMSEncryptionConfig withAWSKMSKeyARN(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public KMSEncryptionConfig clone()
clone
in class java.lang.Object