@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionOptions extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description | 
|---|
| EncryptionOptions() | 
| Modifier and Type | Method and Description | 
|---|---|
| EncryptionOptions | clone() | 
| boolean | equals(Object obj) | 
| String | getKmsKeyId()The symmetric customer master key (CMK) to use for the AWS Key Management Service (KMS). | 
| Boolean | getUseAwsOwnedKey()Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). | 
| int | hashCode() | 
| Boolean | isUseAwsOwnedKey()Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setKmsKeyId(String kmsKeyId)The symmetric customer master key (CMK) to use for the AWS Key Management Service (KMS). | 
| void | setUseAwsOwnedKey(Boolean useAwsOwnedKey)Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). | 
| String | toString()Returns a string representation of this object. | 
| EncryptionOptions | withKmsKeyId(String kmsKeyId)The symmetric customer master key (CMK) to use for the AWS Key Management Service (KMS). | 
| EncryptionOptions | withUseAwsOwnedKey(Boolean useAwsOwnedKey)Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). | 
public void setKmsKeyId(String kmsKeyId)
kmsKeyId - The symmetric customer master key (CMK) to use for the AWS Key Management Service (KMS). This key is used
        to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.public String getKmsKeyId()
public EncryptionOptions withKmsKeyId(String kmsKeyId)
kmsKeyId - The symmetric customer master key (CMK) to use for the AWS Key Management Service (KMS). This key is used
        to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.public void setUseAwsOwnedKey(Boolean useAwsOwnedKey)
useAwsOwnedKey - Enables the use of an AWS owned CMK using AWS Key Management Service (KMS).public Boolean getUseAwsOwnedKey()
public EncryptionOptions withUseAwsOwnedKey(Boolean useAwsOwnedKey)
useAwsOwnedKey - Enables the use of an AWS owned CMK using AWS Key Management Service (KMS).public Boolean isUseAwsOwnedKey()
public String toString()
toString in class ObjectObject.toString()public EncryptionOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.