/* * 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; /** *

* A batch transform job. For information about SageMaker batch transform, see Use Batch Transform. *

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

* The name of the transform job. *

*/ private String transformJobName; /** *

* The Amazon Resource Name (ARN) of the transform job. *

*/ private String transformJobArn; /** *

* The status of the transform job. *

*

* Transform job statuses are: *

* */ private String transformJobStatus; /** *

* If the transform job failed, the reason it failed. *

*/ private String failureReason; /** *

* The name of the model associated with the transform job. *

*/ private String modelName; /** *

* The maximum number of parallel requests that can be sent to each instance in a transform job. If * MaxConcurrentTransforms is set to 0 or left unset, SageMaker checks the optional * execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is * not enabled, the default value is 1. For built-in algorithms, you don't need to set a value for * MaxConcurrentTransforms. *

*/ private Integer maxConcurrentTransforms; private ModelClientConfig modelClientConfig; /** *

* The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The * value in MaxPayloadInMB must be greater than, or equal to, the size of a single record. To estimate * the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records * fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. For * cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value * to 0. This feature works only in supported algorithms. Currently, SageMaker built-in algorithms do not support * HTTP chunked encoding. *

*/ private Integer maxPayloadInMB; /** *

* Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single * unit of input data that inference can be made on. For example, a single line in a CSV file is a record. *

*/ private String batchStrategy; /** *

* The environment variables to set in the Docker container. We support up to 16 key and values entries in the map. *

*/ private java.util.Map environment; private TransformInput transformInput; private TransformOutput transformOutput; private TransformResources transformResources; /** *

* A timestamp that shows when the transform Job was created. *

*/ private java.util.Date creationTime; /** *

* Indicates when the transform job starts on ML instances. You are billed for the time interval between this time * and the value of TransformEndTime. *

*/ private java.util.Date transformStartTime; /** *

* Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time * interval between this time and the value of TransformStartTime. *

*/ private java.util.Date transformEndTime; /** *

* The Amazon Resource Name (ARN) of the labeling job that created the transform job. *

*/ private String labelingJobArn; /** *

* The Amazon Resource Name (ARN) of the AutoML job that created the transform job. *

*/ private String autoMLJobArn; private DataProcessing dataProcessing; private ExperimentConfig experimentConfig; /** *

* A list of tags associated with the transform job. *

*/ private java.util.List tags; /** *

* The name of the transform job. *

* * @param transformJobName * The name of the transform job. */ public void setTransformJobName(String transformJobName) { this.transformJobName = transformJobName; } /** *

* The name of the transform job. *

* * @return The name of the transform job. */ public String getTransformJobName() { return this.transformJobName; } /** *

* The name of the transform job. *

* * @param transformJobName * The name of the transform job. * @return Returns a reference to this object so that method calls can be chained together. */ public TransformJob withTransformJobName(String transformJobName) { setTransformJobName(transformJobName); return this; } /** *

* The Amazon Resource Name (ARN) of the transform job. *

* * @param transformJobArn * The Amazon Resource Name (ARN) of the transform job. */ public void setTransformJobArn(String transformJobArn) { this.transformJobArn = transformJobArn; } /** *

* The Amazon Resource Name (ARN) of the transform job. *

* * @return The Amazon Resource Name (ARN) of the transform job. */ public String getTransformJobArn() { return this.transformJobArn; } /** *

* The Amazon Resource Name (ARN) of the transform job. *

* * @param transformJobArn * The Amazon Resource Name (ARN) of the transform job. * @return Returns a reference to this object so that method calls can be chained together. */ public TransformJob withTransformJobArn(String transformJobArn) { setTransformJobArn(transformJobArn); return this; } /** *

* The status of the transform job. *

*

* Transform job statuses are: *

* * * @param transformJobStatus * The status of the transform job.

*

* Transform job statuses are: *

*