public CopyServerlessCacheSnapshotRequest withKmsKeyId(String kmsKeyId) {
        setKmsKeyId(kmsKeyId);
        return this;
    }
<p>
The identifier of the KMS key used to encrypt the target snapshot. Available for Redis OSS and Serverless
Memcached only.
</p>

@param kmsKeyId
       The identifier of the KMS key used to encrypt the target snapshot. Available for Redis OSS and Serverless
       Memcached only.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/CopyServerlessCacheSnapshotRequest.java