Interface TransformJobDefinition.Builder

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

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

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