@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 Object
Object.toString()
public EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.