public UpdateTableRequest withEncryptionSpecification(EncryptionSpecification encryptionSpecification) {
        setEncryptionSpecification(encryptionSpecification);
        return this;
    }
<p>
Modifies the encryption settings of the table. You can choose one of the following KMS key (KMS key):
</p>
<ul>
<li>
<p>
<code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces.
</p>
</li>
<li>
<p>
<code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and
managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name
(ARN) format as input.
</p>
</li>
</ul>
<p>
The default is <code>AWS_OWNED_KMS_KEY</code>.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the
<i>Amazon Keyspaces Developer Guide</i>.
</p>

@param encryptionSpecification
       Modifies the encryption settings of the table. You can choose one of the following KMS key (KMS key):</p>
       <ul>
       <li>
       <p>
       <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces.
       </p>
       </li>
       <li>
       <p>
       <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and
       managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource
       Name (ARN) format as input.
       </p>
       </li>
       </ul>
       <p>
       The default is <code>AWS_OWNED_KMS_KEY</code>.
       </p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a>
       in the <i>Amazon Keyspaces Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-keyspaces/src/main/java/com/amazonaws/services/keyspaces/model/UpdateTableRequest.java