@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the encryption settings for shared snapshots that are copied across Regions.
| Constructor and Description | 
|---|
| EncryptionConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| EncryptionConfiguration | clone() | 
| boolean | equals(Object obj) | 
| String | getCmkArn()
 The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. | 
| Boolean | getEncrypted()
 To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using
 this parameter. | 
| int | hashCode() | 
| Boolean | isEncrypted()
 To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using
 this parameter. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCmkArn(String cmkArn)
 The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. | 
| void | setEncrypted(Boolean encrypted)
 To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using
 this parameter. | 
| String | toString()Returns a string representation of this object. | 
| EncryptionConfiguration | withCmkArn(String cmkArn)
 The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. | 
| EncryptionConfiguration | withEncrypted(Boolean encrypted)
 To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using
 this parameter. | 
public void setEncrypted(Boolean encrypted)
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption
        using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when
        encryption by default is not enabled.public Boolean getEncrypted()
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
public EncryptionConfiguration withEncrypted(Boolean encrypted)
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption
        using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when
        encryption by default is not enabled.public Boolean isEncrypted()
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
public void setCmkArn(String cmkArn)
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.
cmkArn - The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this
        parameter is not specified, your AWS managed CMK for EBS is used.public String getCmkArn()
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.
public EncryptionConfiguration withCmkArn(String cmkArn)
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.
cmkArn - The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this
        parameter is not specified, your AWS managed CMK for EBS is used.public String toString()
toString in class ObjectObject.toString()public EncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.