Interface TransformJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransformJob.Builder,
,TransformJob> SdkBuilder<TransformJob.Builder,
,TransformJob> SdkPojo
- Enclosing class:
TransformJob
-
Method Summary
Modifier and TypeMethodDescriptionautoMLJobArn
(String autoMLJobArn) The Amazon Resource Name (ARN) of the AutoML job that created the transform job.batchStrategy
(String batchStrategy) Specifies the number of records to include in a mini-batch for an HTTP inference request.batchStrategy
(BatchStrategy batchStrategy) Specifies the number of records to include in a mini-batch for an HTTP inference request.creationTime
(Instant creationTime) A timestamp that shows when the transform Job was created.default TransformJob.Builder
dataCaptureConfig
(Consumer<BatchDataCaptureConfig.Builder> dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object.dataCaptureConfig
(BatchDataCaptureConfig dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object.default TransformJob.Builder
dataProcessing
(Consumer<DataProcessing.Builder> dataProcessing) Sets the value of the DataProcessing property for this object.dataProcessing
(DataProcessing dataProcessing) Sets the value of the DataProcessing property for this object.environment
(Map<String, String> environment) The environment variables to set in the Docker container.default TransformJob.Builder
experimentConfig
(Consumer<ExperimentConfig.Builder> experimentConfig) Sets the value of the ExperimentConfig property for this object.experimentConfig
(ExperimentConfig experimentConfig) Sets the value of the ExperimentConfig property for this object.failureReason
(String failureReason) If the transform job failed, the reason it failed.labelingJobArn
(String labelingJobArn) The Amazon Resource Name (ARN) of the labeling job that created the transform job.maxConcurrentTransforms
(Integer maxConcurrentTransforms) The maximum number of parallel requests that can be sent to each instance in a transform job.maxPayloadInMB
(Integer maxPayloadInMB) The maximum allowed size of the payload, in MB.default TransformJob.Builder
modelClientConfig
(Consumer<ModelClientConfig.Builder> modelClientConfig) Sets the value of the ModelClientConfig property for this object.modelClientConfig
(ModelClientConfig modelClientConfig) Sets the value of the ModelClientConfig property for this object.The name of the model associated with the transform job.tags
(Collection<Tag> tags) A list of tags associated with the transform job.tags
(Consumer<Tag.Builder>... tags) A list of tags associated with the transform job.A list of tags associated with the transform job.transformEndTime
(Instant transformEndTime) Indicates when the transform job has been completed, or has stopped or failed.default TransformJob.Builder
transformInput
(Consumer<TransformInput.Builder> transformInput) Sets the value of the TransformInput property for this object.transformInput
(TransformInput transformInput) Sets the value of the TransformInput property for this object.transformJobArn
(String transformJobArn) The Amazon Resource Name (ARN) of the transform job.transformJobName
(String transformJobName) The name of the transform job.transformJobStatus
(String transformJobStatus) The status of the transform job.transformJobStatus
(TransformJobStatus transformJobStatus) The status of the transform job.default TransformJob.Builder
transformOutput
(Consumer<TransformOutput.Builder> transformOutput) Sets the value of the TransformOutput property for this object.transformOutput
(TransformOutput transformOutput) Sets the value of the TransformOutput property for this object.default TransformJob.Builder
transformResources
(Consumer<TransformResources.Builder> transformResources) Sets the value of the TransformResources property for this object.transformResources
(TransformResources transformResources) Sets the value of the TransformResources property for this object.transformStartTime
(Instant transformStartTime) Indicates when the transform job starts on ML instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transformJobName
The name of the transform job.
- Parameters:
transformJobName
- The name of the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformJobArn
The Amazon Resource Name (ARN) of the transform job.
- Parameters:
transformJobArn
- The Amazon Resource Name (ARN) of the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformJobStatus
The status of the transform job.
Transform job statuses are:
-
InProgress
- The job is in progress. -
Completed
- The job has completed. -
Failed
- The transform job has failed. To see the reason for the failure, see theFailureReason
field in the response to aDescribeTransformJob
call. -
Stopping
- The transform job is stopping. -
Stopped
- The transform job has stopped.
- Parameters:
transformJobStatus
- The status of the transform job.Transform job statuses are:
-
InProgress
- The job is in progress. -
Completed
- The job has completed. -
Failed
- The transform job has failed. To see the reason for the failure, see theFailureReason
field in the response to aDescribeTransformJob
call. -
Stopping
- The transform job is stopping. -
Stopped
- The transform job has stopped.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
transformJobStatus
The status of the transform job.
Transform job statuses are:
-
InProgress
- The job is in progress. -
Completed
- The job has completed. -
Failed
- The transform job has failed. To see the reason for the failure, see theFailureReason
field in the response to aDescribeTransformJob
call. -
Stopping
- The transform job is stopping. -
Stopped
- The transform job has stopped.
- Parameters:
transformJobStatus
- The status of the transform job.Transform job statuses are:
-
InProgress
- The job is in progress. -
Completed
- The job has completed. -
Failed
- The transform job has failed. To see the reason for the failure, see theFailureReason
field in the response to aDescribeTransformJob
call. -
Stopping
- The transform job is stopping. -
Stopped
- The transform job has stopped.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failureReason
If the transform job failed, the reason it failed.
- Parameters:
failureReason
- If the transform job failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
The name of the model associated with the transform job.
- Parameters:
modelName
- The name of the model associated with the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxConcurrentTransforms
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 forMaxConcurrentTransforms
.- Parameters:
maxConcurrentTransforms
- The maximum number of parallel requests that can be sent to each instance in a transform job. IfMaxConcurrentTransforms
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 forMaxConcurrentTransforms
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelClientConfig
Sets the value of the ModelClientConfig property for this object.- Parameters:
modelClientConfig
- The new value for the ModelClientConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelClientConfig
default TransformJob.Builder modelClientConfig(Consumer<ModelClientConfig.Builder> modelClientConfig) Sets the value of the ModelClientConfig property for this object. This is a convenience method that creates an instance of theModelClientConfig.Builder
avoiding the need to create one manually viaModelClientConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelClientConfig(ModelClientConfig)
.- Parameters:
modelClientConfig
- a consumer that will call methods onModelClientConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxPayloadInMB
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.- Parameters:
maxPayloadInMB
- The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The value inMaxPayloadInMB
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchStrategy
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.
- Parameters:
batchStrategy
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchStrategy
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.
- Parameters:
batchStrategy
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
- Parameters:
environment
- The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformInput
Sets the value of the TransformInput property for this object.- Parameters:
transformInput
- The new value for the TransformInput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformInput
Sets the value of the TransformInput property for this object. This is a convenience method that creates an instance of theTransformInput.Builder
avoiding the need to create one manually viaTransformInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransformInput(TransformInput)
.- Parameters:
transformInput
- a consumer that will call methods onTransformInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transformOutput
Sets the value of the TransformOutput property for this object.- Parameters:
transformOutput
- The new value for the TransformOutput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformOutput
Sets the value of the TransformOutput property for this object. This is a convenience method that creates an instance of theTransformOutput.Builder
avoiding the need to create one manually viaTransformOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransformOutput(TransformOutput)
.- Parameters:
transformOutput
- a consumer that will call methods onTransformOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCaptureConfig
Sets the value of the DataCaptureConfig property for this object.- Parameters:
dataCaptureConfig
- The new value for the DataCaptureConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCaptureConfig
default TransformJob.Builder dataCaptureConfig(Consumer<BatchDataCaptureConfig.Builder> dataCaptureConfig) Sets the value of the DataCaptureConfig property for this object. This is a convenience method that creates an instance of theBatchDataCaptureConfig.Builder
avoiding the need to create one manually viaBatchDataCaptureConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataCaptureConfig(BatchDataCaptureConfig)
.- Parameters:
dataCaptureConfig
- a consumer that will call methods onBatchDataCaptureConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transformResources
Sets the value of the TransformResources property for this object.- Parameters:
transformResources
- The new value for the TransformResources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformResources
default TransformJob.Builder transformResources(Consumer<TransformResources.Builder> transformResources) Sets the value of the TransformResources property for this object. This is a convenience method that creates an instance of theTransformResources.Builder
avoiding the need to create one manually viaTransformResources.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransformResources(TransformResources)
.- Parameters:
transformResources
- a consumer that will call methods onTransformResources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
A timestamp that shows when the transform Job was created.
- Parameters:
creationTime
- A timestamp that shows when the transform Job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformStartTime
Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value of
TransformEndTime
.- Parameters:
transformStartTime
- Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value ofTransformEndTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformEndTime
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
.- Parameters:
transformEndTime
- 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 ofTransformStartTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobArn
The Amazon Resource Name (ARN) of the labeling job that created the transform job.
- Parameters:
labelingJobArn
- The Amazon Resource Name (ARN) of the labeling job that created the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLJobArn
The Amazon Resource Name (ARN) of the AutoML job that created the transform job.
- Parameters:
autoMLJobArn
- The Amazon Resource Name (ARN) of the AutoML job that created the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProcessing
Sets the value of the DataProcessing property for this object.- Parameters:
dataProcessing
- The new value for the DataProcessing property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProcessing
Sets the value of the DataProcessing property for this object. This is a convenience method that creates an instance of theDataProcessing.Builder
avoiding the need to create one manually viaDataProcessing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataProcessing(DataProcessing)
.- Parameters:
dataProcessing
- a consumer that will call methods onDataProcessing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentConfig
Sets the value of the ExperimentConfig property for this object.- Parameters:
experimentConfig
- The new value for the ExperimentConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentConfig
Sets the value of the ExperimentConfig property for this object. This is a convenience method that creates an instance of theExperimentConfig.Builder
avoiding the need to create one manually viaExperimentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentConfig(ExperimentConfig)
.- Parameters:
experimentConfig
- a consumer that will call methods onExperimentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags associated with the transform job.
- Parameters:
tags
- A list of tags associated with the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags associated with the transform job.
- Parameters:
tags
- A list of tags associated with the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags associated with the transform job.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-