public static interface TransformJobDefinition.Builder extends SdkPojo, CopyableBuilder<TransformJobDefinition.Builder,TransformJobDefinition>
Modifier and Type | Method and Description |
---|---|
TransformJobDefinition.Builder |
batchStrategy(BatchStrategy batchStrategy)
A string that determines the number of records included in a single mini-batch.
|
TransformJobDefinition.Builder |
batchStrategy(String batchStrategy)
A string that determines the number of records included in a single mini-batch.
|
TransformJobDefinition.Builder |
environment(Map<String,String> environment)
The environment variables to set in the Docker container.
|
TransformJobDefinition.Builder |
maxConcurrentTransforms(Integer maxConcurrentTransforms)
The maximum number of parallel requests that can be sent to each instance in a transform job.
|
TransformJobDefinition.Builder |
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.
|
TransformJobDefinition.Builder |
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.
|
TransformJobDefinition.Builder |
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.
|
TransformJobDefinition.Builder |
transformResources(TransformResources transformResources)
Identifies the ML compute instances for the transform job.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
maxConcurrentTransforms
- The maximum number of parallel requests that can be sent to each instance in a transform job. The
default value is 1.TransformJobDefinition.Builder maxPayloadInMB(Integer maxPayloadInMB)
The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
maxPayloadInMB
- The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).TransformJobDefinition.Builder batchStrategy(String 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 the MaxPayloadInMB
limit.
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 the MaxPayloadInMB
limit.
BatchStrategy
,
BatchStrategy
TransformJobDefinition.Builder batchStrategy(BatchStrategy 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 the MaxPayloadInMB
limit.
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 the MaxPayloadInMB
limit.
BatchStrategy
,
BatchStrategy
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.
environment
- The environment variables to set in the Docker container. We support up to 16 key and values entries
in the map.TransformJobDefinition.Builder transformInput(TransformInput transformInput)
A description of the input source and the way the transform job consumes it.
transformInput
- A description of the input source and the way the transform job consumes it.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 via TransformInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to transformInput(TransformInput)
.transformInput
- a consumer that will call methods on TransformInput.Builder
transformInput(TransformInput)
TransformJobDefinition.Builder transformOutput(TransformOutput transformOutput)
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
transformOutput
- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the
transform job.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 via TransformOutput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to transformOutput(TransformOutput)
.transformOutput
- a consumer that will call methods on TransformOutput.Builder
transformOutput(TransformOutput)
TransformJobDefinition.Builder transformResources(TransformResources transformResources)
Identifies the ML compute instances for the transform job.
transformResources
- Identifies the ML compute instances for the transform job.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 via TransformResources.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to transformResources(TransformResources)
.transformResources
- a consumer that will call methods on TransformResources.Builder
transformResources(TransformResources)
Copyright © 2022. All rights reserved.