Interface TransformJobDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransformJobDefinition.Builder,
,TransformJobDefinition> SdkBuilder<TransformJobDefinition.Builder,
,TransformJobDefinition> SdkPojo
- Enclosing class:
TransformJobDefinition
-
Method Summary
Modifier and TypeMethodDescriptionbatchStrategy
(String batchStrategy) A string that determines the number of records included in a single mini-batch.batchStrategy
(BatchStrategy batchStrategy) A string that determines the number of records included in a single mini-batch.environment
(Map<String, String> environment) The environment variables to set in the Docker container.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 payload size allowed, in MB.default TransformJobDefinition.Builder
transformInput
(Consumer<TransformInput.Builder> transformInput) A description of the input source and the way the transform job consumes it.transformInput
(TransformInput transformInput) A description of the input source and the way the transform job consumes it.default TransformJobDefinition.Builder
transformOutput
(Consumer<TransformOutput.Builder> transformOutput) Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.transformOutput
(TransformOutput transformOutput) Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.default TransformJobDefinition.Builder
transformResources
(Consumer<TransformResources.Builder> transformResources) Identifies the ML compute instances for the transform job.transformResources
(TransformResources transformResources) Identifies the ML compute instances for the transform job.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
-
maxConcurrentTransforms
The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.
- Parameters:
maxConcurrentTransforms
- The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxPayloadInMB
The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
- Parameters:
maxPayloadInMB
- The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchStrategy
A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch.MultiRecord
means a mini-batch is set to contain as many records that can fit within theMaxPayloadInMB
limit.- Parameters:
batchStrategy
- A string that determines the number of records included in a single mini-batch.SingleRecord
means only one record is used per mini-batch.MultiRecord
means a mini-batch is set to contain as many records that can fit within theMaxPayloadInMB
limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchStrategy
A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch.MultiRecord
means a mini-batch is set to contain as many records that can fit within theMaxPayloadInMB
limit.- Parameters:
batchStrategy
- A string that determines the number of records included in a single mini-batch.SingleRecord
means only one record is used per mini-batch.MultiRecord
means a mini-batch is set to contain as many records that can fit within theMaxPayloadInMB
limit.- 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
A description of the input source and the way the transform job consumes it.
- Parameters:
transformInput
- A description of the input source and the way the transform job consumes it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformInput
default TransformJobDefinition.Builder transformInput(Consumer<TransformInput.Builder> transformInput) A description of the input source and the way the transform job consumes it.
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
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
- Parameters:
transformOutput
- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformOutput
default TransformJobDefinition.Builder transformOutput(Consumer<TransformOutput.Builder> transformOutput) Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
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:
-
transformResources
Identifies the ML compute instances for the transform job.
- Parameters:
transformResources
- Identifies the ML compute instances for the transform job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformResources
default TransformJobDefinition.Builder transformResources(Consumer<TransformResources.Builder> transformResources) Identifies the ML compute instances for the transform job.
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:
-