public CreateEntityRecognizerRequest withModelKmsKeyId(String modelKmsKeyId) {
        setModelKmsKeyId(modelKmsKeyId);
        return this;
    }
<p>
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either
of the following formats:
</p>
<ul>
<li>
<p>
KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
</p>
</li>
<li>
<p>
Amazon Resource Name (ARN) of a KMS Key:
<code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
</p>
</li>
</ul>

@param modelKmsKeyId
       ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be
       either of the following formats:</p>
       <ul>
       <li>
       <p>
       KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
       </p>
       </li>
       <li>
       <p>
       Amazon Resource Name (ARN) of a KMS Key:
       <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/CreateEntityRecognizerRequest.java