public OptimizationJobOutputConfig withKmsKeyId(String kmsKeyId) {
        setKmsKeyId(kmsKeyId);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the
artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
</p>

@param kmsKeyId
       The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the
       artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
@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/OptimizationJobOutputConfig.java