public String getCustomKeyStoreId() {
        return this.customKeyStoreId;
    }
<p>
Creates the KMS key in the specified <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>.
The <code>ConnectionState</code> of the custom key store must be <code>CONNECTED</code>. To find the
CustomKeyStoreID and ConnectionState use the <a>DescribeCustomKeyStores</a> operation.
</p>
<p>
This parameter is valid only for symmetric encryption KMS keys in a single Region. You cannot create any other
type of KMS key in a custom key store.
</p>
<p>
When you create a KMS key in an CloudHSM key store, KMS generates a non-exportable 256-bit symmetric key in its
associated CloudHSM cluster and associates it with the KMS key. When you create a KMS key in an external key
store, you must use the <code>XksKeyId</code> parameter to specify an external key that serves as key material
for the KMS key.
</p>

@return Creates the KMS key in the specified <a
        href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key
        store</a>. The <code>ConnectionState</code> of the custom key store must be <code>CONNECTED</code>. To
        find the CustomKeyStoreID and ConnectionState use the <a>DescribeCustomKeyStores</a> operation.</p>
        <p>
        This parameter is valid only for symmetric encryption KMS keys in a single Region. You cannot create any
        other type of KMS key in a custom key store.
        </p>
        <p>
        When you create a KMS key in an CloudHSM key store, KMS generates a non-exportable 256-bit symmetric key
        in its associated CloudHSM cluster and associates it with the KMS key. When you create a KMS key in an
        external key store, you must use the <code>XksKeyId</code> parameter to specify an external key that
        serves as key material for the KMS key.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CreateKeyRequest.java