Interface TransformJobDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransformJobDefinition.Builder,TransformJobDefinition>,SdkBuilder<TransformJobDefinition.Builder,TransformJobDefinition>,SdkPojo
- Enclosing class:
- TransformJobDefinition
public static interface TransformJobDefinition.Builder extends SdkPojo, CopyableBuilder<TransformJobDefinition.Builder,TransformJobDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TransformJobDefinition.BuilderbatchStrategy(String batchStrategy)A string that determines the number of records included in a single mini-batch.TransformJobDefinition.BuilderbatchStrategy(BatchStrategy batchStrategy)A string that determines the number of records included in a single mini-batch.TransformJobDefinition.Builderenvironment(Map<String,String> environment)The environment variables to set in the Docker container.TransformJobDefinition.BuildermaxConcurrentTransforms(Integer maxConcurrentTransforms)The maximum number of parallel requests that can be sent to each instance in a transform job.TransformJobDefinition.BuildermaxPayloadInMB(Integer maxPayloadInMB)The maximum payload size allowed, in MB.default TransformJobDefinition.BuildertransformInput(Consumer<TransformInput.Builder> transformInput)A description of the input source and the way the transform job consumes it.TransformJobDefinition.BuildertransformInput(TransformInput transformInput)A description of the input source and the way the transform job consumes it.default TransformJobDefinition.BuildertransformOutput(Consumer<TransformOutput.Builder> transformOutput)Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.TransformJobDefinition.BuildertransformOutput(TransformOutput transformOutput)Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.default TransformJobDefinition.BuildertransformResources(Consumer<TransformResources.Builder> transformResources)Identifies the ML compute instances for the transform job.TransformJobDefinition.BuildertransformResources(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
maxConcurrentTransforms
TransformJobDefinition.Builder maxConcurrentTransforms(Integer 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
TransformJobDefinition.Builder maxPayloadInMB(Integer 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
TransformJobDefinition.Builder batchStrategy(String batchStrategy)
A string that determines the number of records included in a single mini-batch.
SingleRecordmeans only one record is used per mini-batch.MultiRecordmeans a mini-batch is set to contain as many records that can fit within theMaxPayloadInMBlimit.- Parameters:
batchStrategy- A string that determines the number of records included in a single mini-batch.SingleRecordmeans only one record is used per mini-batch.MultiRecordmeans a mini-batch is set to contain as many records that can fit within theMaxPayloadInMBlimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchStrategy,BatchStrategy
-
batchStrategy
TransformJobDefinition.Builder batchStrategy(BatchStrategy batchStrategy)
A string that determines the number of records included in a single mini-batch.
SingleRecordmeans only one record is used per mini-batch.MultiRecordmeans a mini-batch is set to contain as many records that can fit within theMaxPayloadInMBlimit.- Parameters:
batchStrategy- A string that determines the number of records included in a single mini-batch.SingleRecordmeans only one record is used per mini-batch.MultiRecordmeans a mini-batch is set to contain as many records that can fit within theMaxPayloadInMBlimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchStrategy,BatchStrategy
-
environment
TransformJobDefinition.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
TransformJobDefinition.Builder transformInput(TransformInput 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.Builderavoiding the need to create one manually viaTransformInput.builder().When the
Consumercompletes,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
TransformJobDefinition.Builder transformOutput(TransformOutput 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.Builderavoiding the need to create one manually viaTransformOutput.builder().When the
Consumercompletes,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)
-
transformResources
TransformJobDefinition.Builder transformResources(TransformResources 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.Builderavoiding the need to create one manually viaTransformResources.builder().When the
Consumercompletes,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)
-
-