/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Configuration to control how SageMaker captures inference data for batch transform jobs. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BatchDataCaptureConfig implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon S3 location being used to capture the data. *

*/ private String destinationS3Uri; /** *

* 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 batch transform job. *

*

* The KmsKeyId can be any of the following formats: *

* */ private String kmsKeyId; /** *

* Flag that indicates whether to append inference id to the output. *

*/ private Boolean generateInferenceId; /** *

* The Amazon S3 location being used to capture the data. *

* * @param destinationS3Uri * The Amazon S3 location being used to capture the data. */ public void setDestinationS3Uri(String destinationS3Uri) { this.destinationS3Uri = destinationS3Uri; } /** *

* The Amazon S3 location being used to capture the data. *

* * @return The Amazon S3 location being used to capture the data. */ public String getDestinationS3Uri() { return this.destinationS3Uri; } /** *

* The Amazon S3 location being used to capture the data. *

* * @param destinationS3Uri * The Amazon S3 location being used to capture the data. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDataCaptureConfig withDestinationS3Uri(String destinationS3Uri) { setDestinationS3Uri(destinationS3Uri); return this; } /** *

* 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 batch transform job. *

*

* The KmsKeyId can be any of the following formats: *

* * * @param kmsKeyId * 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 batch transform * job.

*

* The KmsKeyId can be any of the following formats: *

*