public EncryptionAtRestOptions withKmsKeyId(String kmsKeyId) {
        setKmsKeyId(kmsKeyId);
        return this;
    }
<p>
Specifies the KMS Key ID for Encryption At Rest options.
</p>

@param kmsKeyId
       Specifies the KMS Key ID for Encryption At Rest options.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/EncryptionAtRestOptions.java