@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about the encryption configuration for an account. Required to call
UpdateAccountConfiguration.
| Constructor and Description |
|---|
EncryptionConfig() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The KMS key ARN that is used for encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKmsKeyArn(String kmsKeyArn)
The KMS key ARN that is used for encryption.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionConfig |
withKmsKeyArn(String kmsKeyArn)
The KMS key ARN that is used for encryption.
|
public void setKmsKeyArn(String kmsKeyArn)
The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.
kmsKeyArn - The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.public String getKmsKeyArn()
The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.
public EncryptionConfig withKmsKeyArn(String kmsKeyArn)
The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.
kmsKeyArn - The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.public String toString()
toString in class ObjectObject.toString()public EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.