public EncryptionOptions withUseAwsOwnedKey(Boolean useAwsOwnedKey) {
        setUseAwsOwnedKey(useAwsOwnedKey);
        return this;
    }
<p>
Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is
provided, for example, for RabbitMQ brokers.
</p>

@param useAwsOwnedKey
       Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value
       is provided, for example, for RabbitMQ brokers.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/EncryptionOptions.java