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 Details

    • 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.

      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.

      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 the MaxPayloadInMB limit.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      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 the MaxPayloadInMB limit.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the TransformInput.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).

      Parameters:
      transformInput - a consumer that will call methods on TransformInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the TransformOutput.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).

      Parameters:
      transformOutput - a consumer that will call methods on TransformOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the TransformResources.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).

      Parameters:
      transformResources - a consumer that will call methods on TransformResources.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: