public Snapshot withMasterPasswordSecretKmsKeyId(String masterPasswordSecretKmsKeyId) {
        setMasterPasswordSecretKmsKeyId(masterPasswordSecretKmsKeyId);
        return this;
    }
<p>
The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
</p>

@param masterPasswordSecretKmsKeyId
       The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials
       secret.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java