public ProductionVariantCoreDumpConfig withKmsKeyId(String kmsKeyId) {
        setKmsKeyId(kmsKeyId);
        return this;
    }
<p>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the
core dump data at rest using Amazon S3 server-side encryption. The <code>KmsKeyId</code> can be any of the
following formats:
</p>
<ul>
<li>
<p>
// KMS Key ID
</p>
<p>
<code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
</p>
</li>
<li>
<p>
// Amazon Resource Name (ARN) of a KMS Key
</p>
<p>
<code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
</p>
</li>
<li>
<p>
// KMS Key Alias
</p>
<p>
<code>"alias/ExampleAlias"</code>
</p>
</li>
<li>
<p>
// Amazon Resource Name (ARN) of a KMS Key Alias
</p>
<p>
<code>"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"</code>
</p>
</li>
</ul>
<p>
If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to
call <code>kms:Encrypt</code>. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon
S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for
<code>OutputDataConfig</code>. If you use a bucket policy with an <code>s3:PutObject</code> permission that only
allows objects with server-side encryption, set the condition key of <code>s3:x-amz-server-side-encryption</code>
to <code>"aws:kms"</code>. For more information, see <a
href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">KMS-Managed Encryption Keys</a> in
the <i>Amazon Simple Storage Service Developer Guide.</i>
</p>
<p>
The KMS key policy must grant permission to the IAM role that you specify in your <code>CreateEndpoint</code> and
<code>UpdateEndpoint</code> requests. For more information, see <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Using Key Policies in Amazon Web
Services KMS</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.
</p>

@param kmsKeyId
       The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to
       encrypt the core dump data at rest using Amazon S3 server-side encryption. The <code>KmsKeyId</code> can
       be any of the following formats: </p>
       <ul>
       <li>
       <p>
       // KMS Key ID
       </p>
       <p>
       <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
       </p>
       </li>
       <li>
       <p>
       // Amazon Resource Name (ARN) of a KMS Key
       </p>
       <p>
       <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
       </p>
       </li>
       <li>
       <p>
       // KMS Key Alias
       </p>
       <p>
       <code>"alias/ExampleAlias"</code>
       </p>
       </li>
       <li>
       <p>
       // Amazon Resource Name (ARN) of a KMS Key Alias
       </p>
       <p>
       <code>"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"</code>
       </p>
       </li>
       </ul>
       <p>
       If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions
       to call <code>kms:Encrypt</code>. If you don't provide a KMS key ID, SageMaker uses the default KMS key
       for Amazon S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for
       <code>OutputDataConfig</code>. If you use a bucket policy with an <code>s3:PutObject</code> permission
       that only allows objects with server-side encryption, set the condition key of
       <code>s3:x-amz-server-side-encryption</code> to <code>"aws:kms"</code>. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">KMS-Managed Encryption
       Keys</a> in the <i>Amazon Simple Storage Service Developer Guide.</i>
       </p>
       <p>
       The KMS key policy must grant permission to the IAM role that you specify in your
       <code>CreateEndpoint</code> and <code>UpdateEndpoint</code> requests. For more information, see <a
       href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Using Key Policies in
       Amazon Web Services KMS</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ProductionVariantCoreDumpConfig.java