@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 Amazon Resource Name (ARN) of the encryption key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAWSKMSKeyARN(String aWSKMSKeyARN)
The Amazon Resource Name (ARN) of the encryption key.
|
String |
toString()
Returns a string representation of this object.
|
KMSEncryptionConfig |
withAWSKMSKeyARN(String aWSKMSKeyARN)
The Amazon Resource Name (ARN) of the encryption key.
|
public void setAWSKMSKeyARN(String aWSKMSKeyARN)
The Amazon Resource Name (ARN) of the encryption key. Must belong to the same Amazon Web Services Region as the destination Amazon S3 bucket. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
aWSKMSKeyARN
- The Amazon Resource Name (ARN) of the encryption key. Must belong to the same Amazon Web Services Region
as the destination Amazon S3 bucket. For more information, see Amazon Resource Names
(ARNs) and Amazon Web Services Service Namespaces.public String getAWSKMSKeyARN()
The Amazon Resource Name (ARN) of the encryption key. Must belong to the same Amazon Web Services Region as the destination Amazon S3 bucket. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
public KMSEncryptionConfig withAWSKMSKeyARN(String aWSKMSKeyARN)
The Amazon Resource Name (ARN) of the encryption key. Must belong to the same Amazon Web Services Region as the destination Amazon S3 bucket. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
aWSKMSKeyARN
- The Amazon Resource Name (ARN) of the encryption key. Must belong to the same Amazon Web Services Region
as the destination Amazon S3 bucket. For more information, see Amazon Resource Names
(ARNs) and Amazon Web Services Service Namespaces.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.