public String getKmsKeyId() {
        return this.kmsKeyId;
    }
<p>
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt
data on the storage volume attached to the ML compute instance that hosts the endpoint.
</p>
<p>
The KmsKeyId can be any of the following formats:
</p>
<ul>
<li>
<p>
Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
</p>
</li>
<li>
<p>
Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
</p>
</li>
<li>
<p>
Alias name: <code>alias/ExampleAlias</code>
</p>
</li>
<li>
<p>
Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code>
</p>
</li>
</ul>
<p>
The KMS key policy must grant permission to the IAM role that you specify in your <code>CreateEndpoint</code>,
<code>UpdateEndpoint</code> requests. For more information, refer to the Amazon Web Services Key Management
Service section<a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html"> Using Key
Policies in Amazon Web Services KMS </a>
</p>
<note>
<p>
Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are
encrypted using a hardware module on the instance. You can't request a <code>KmsKeyId</code> when using an
instance type with local storage. If any of the models that you specify in the <code>ProductionVariants</code>
parameter use nitro-based instances with local storage, do not specify a value for the <code>KmsKeyId</code>
parameter. If you specify a value for <code>KmsKeyId</code> when using any nitro-based instances with local
storage, the call to <code>CreateEndpointConfig</code> fails.
</p>
<p>
For a list of instance types that support local instance storage, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes">Instance
Store Volumes</a>.
</p>
<p>
For more information about local instance storage encryption, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html">SSD Instance Store
Volumes</a>.
</p>
</note>

@return The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to
        encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.</p>
        <p>
        The KmsKeyId can be any of the following formats:
        </p>
        <ul>
        <li>
        <p>
        Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
        </p>
        </li>
        <li>
        <p>
        Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
        </p>
        </li>
        <li>
        <p>
        Alias name: <code>alias/ExampleAlias</code>
        </p>
        </li>
        <li>
        <p>
        Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code>
        </p>
        </li>
        </ul>
        <p>
        The KMS key policy must grant permission to the IAM role that you specify in your
        <code>CreateEndpoint</code>, <code>UpdateEndpoint</code> requests. For more information, refer to the
        Amazon Web Services Key Management Service section<a
        href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html"> Using Key Policies in
        Amazon Web Services KMS </a>
        </p>
        <note>
        <p>
        Certain Nitro-based instances include local storage, dependent on the instance type. Local storage
        volumes are encrypted using a hardware module on the instance. You can't request a <code>KmsKeyId</code>
        when using an instance type with local storage. If any of the models that you specify in the
        <code>ProductionVariants</code> parameter use nitro-based instances with local storage, do not specify a
        value for the <code>KmsKeyId</code> parameter. If you specify a value for <code>KmsKeyId</code> when
        using any nitro-based instances with local storage, the call to <code>CreateEndpointConfig</code> fails.
        </p>
        <p>
        For a list of instance types that support local instance storage, see <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes"
        >Instance Store Volumes</a>.
        </p>
        <p>
        For more information about local instance storage encryption, see <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html">SSD Instance Store
        Volumes</a>.
        </p>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateEndpointConfigRequest.java