Interface TransformJob.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TransformJob.Builder,TransformJob>
,SdkBuilder<TransformJob.Builder,TransformJob>
,SdkPojo
- Enclosing class:
- TransformJob
public static interface TransformJob.Builder extends SdkPojo, CopyableBuilder<TransformJob.Builder,TransformJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TransformJob.Builder
autoMLJobArn(String autoMLJobArn)
The Amazon Resource Name (ARN) of the AutoML job that created the transform job.TransformJob.Builder
batchStrategy(String batchStrategy)
Specifies the number of records to include in a mini-batch for an HTTP inference request.TransformJob.Builder
batchStrategy(BatchStrategy batchStrategy)
Specifies the number of records to include in a mini-batch for an HTTP inference request.TransformJob.Builder
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.TransformJob.Builder
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.TransformJob.Builder
dataProcessing(DataProcessing dataProcessing)
Sets the value of the DataProcessing property for this object.TransformJob.Builder
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.TransformJob.Builder
experimentConfig(ExperimentConfig experimentConfig)
Sets the value of the ExperimentConfig property for this object.TransformJob.Builder
failureReason(String failureReason)
If the transform job failed, the reason it failed.TransformJob.Builder
labelingJobArn(String labelingJobArn)
The Amazon Resource Name (ARN) of the labeling job that created the transform job.TransformJob.Builder
maxConcurrentTransforms(Integer maxConcurrentTransforms)
The maximum number of parallel requests that can be sent to each instance in a transform job.TransformJob.Builder
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.TransformJob.Builder
modelClientConfig(ModelClientConfig modelClientConfig)
Sets the value of the ModelClientConfig property for this object.TransformJob.Builder
modelName(String modelName)
The name of the model associated with the transform job.TransformJob.Builder
tags(Collection<Tag> tags)
A list of tags associated with the transform job.TransformJob.Builder
tags(Consumer<Tag.Builder>... tags)
A list of tags associated with the transform job.TransformJob.Builder
tags(Tag... tags)
A list of tags associated with the transform job.TransformJob.Builder
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.TransformJob.Builder
transformInput(TransformInput transformInput)
Sets the value of the TransformInput property for this object.TransformJob.Builder
transformJobArn(String transformJobArn)
The Amazon Resource Name (ARN) of the transform job.TransformJob.Builder
transformJobName(String transformJobName)
The name of the transform job.TransformJob.Builder
transformJobStatus(String transformJobStatus)
The status of the transform job.TransformJob.Builder
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.TransformJob.Builder
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.TransformJob.Builder
transformResources(TransformResources transformResources)
Sets the value of the TransformResources property for this object.TransformJob.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
transformJobName
TransformJob.Builder transformJobName(String 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
TransformJob.Builder transformJobArn(String 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
TransformJob.Builder transformJobStatus(String 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
,TransformJobStatus
-
-
transformJobStatus
TransformJob.Builder transformJobStatus(TransformJobStatus 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
,TransformJobStatus
-
-
failureReason
TransformJob.Builder failureReason(String 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
TransformJob.Builder modelName(String 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
TransformJob.Builder maxConcurrentTransforms(Integer 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
TransformJob.Builder modelClientConfig(ModelClientConfig 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:
modelClientConfig(ModelClientConfig)
-
maxPayloadInMB
TransformJob.Builder maxPayloadInMB(Integer 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
TransformJob.Builder batchStrategy(String 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
,BatchStrategy
-
batchStrategy
TransformJob.Builder batchStrategy(BatchStrategy 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
,BatchStrategy
-
environment
TransformJob.Builder environment(Map<String,String> 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
TransformJob.Builder transformInput(TransformInput 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
default TransformJob.Builder transformInput(Consumer<TransformInput.Builder> 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:
transformInput(TransformInput)
-
transformOutput
TransformJob.Builder transformOutput(TransformOutput 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
default TransformJob.Builder transformOutput(Consumer<TransformOutput.Builder> 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:
transformOutput(TransformOutput)
-
dataCaptureConfig
TransformJob.Builder dataCaptureConfig(BatchDataCaptureConfig 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:
dataCaptureConfig(BatchDataCaptureConfig)
-
transformResources
TransformJob.Builder transformResources(TransformResources 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:
transformResources(TransformResources)
-
creationTime
TransformJob.Builder creationTime(Instant 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
TransformJob.Builder transformStartTime(Instant 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
TransformJob.Builder transformEndTime(Instant 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
TransformJob.Builder labelingJobArn(String 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
TransformJob.Builder autoMLJobArn(String 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
TransformJob.Builder dataProcessing(DataProcessing 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
default TransformJob.Builder dataProcessing(Consumer<DataProcessing.Builder> 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:
dataProcessing(DataProcessing)
-
experimentConfig
TransformJob.Builder experimentConfig(ExperimentConfig 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
default TransformJob.Builder experimentConfig(Consumer<ExperimentConfig.Builder> 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:
experimentConfig(ExperimentConfig)
-
tags
TransformJob.Builder tags(Collection<Tag> 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
TransformJob.Builder tags(Tag... 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
TransformJob.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-