public CreateClusterRequest withKmsKeyId(String kmsKeyId) {
        setKmsKeyId(kmsKeyId);
        return this;
    }
<p>
The ID of the KMS key used to encrypt the cluster.
</p>

@param kmsKeyId
       The ID of the KMS key used to encrypt the cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/CreateClusterRequest.java