@Deprecated
    public CreateKeyRequest withCustomerMasterKeySpec(String customerMasterKeySpec) {
        setCustomerMasterKeySpec(customerMasterKeySpec);
        return this;
    }
<p>
Instead, use the <code>KeySpec</code> parameter.
</p>
<p>
The <code>KeySpec</code> and <code>CustomerMasterKeySpec</code> parameters work the same way. Only the names
differ. We recommend that you use <code>KeySpec</code> parameter in your code. However, to avoid breaking
changes, KMS supports both parameters.
</p>

@param customerMasterKeySpec
       Instead, use the <code>KeySpec</code> parameter.</p>
       <p>
       The <code>KeySpec</code> and <code>CustomerMasterKeySpec</code> parameters work the same way. Only the
       names differ. We recommend that you use <code>KeySpec</code> parameter in your code. However, to avoid
       breaking changes, KMS supports both parameters.
@return Returns a reference to this object so that method calls can be chained together.
@see CustomerMasterKeySpec
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CreateKeyRequest.java