Interface TransformJob.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TransformJob.Builder,TransformJob>, SdkBuilder<TransformJob.Builder,TransformJob>, SdkPojo
Enclosing class:
TransformJob

public static interface TransformJob.Builder extends SdkPojo, CopyableBuilder<TransformJob.Builder,TransformJob>
  • Method Details

    • transformJobName

      TransformJob.Builder transformJobName(String transformJobName)

      The name of the transform job.

      Parameters:
      transformJobName - The name of the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformJobArn

      TransformJob.Builder transformJobArn(String transformJobArn)

      The Amazon Resource Name (ARN) of the transform job.

      Parameters:
      transformJobArn - The Amazon Resource Name (ARN) of the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformJobStatus

      TransformJob.Builder transformJobStatus(String transformJobStatus)

      The status of the transform job.

      Transform job statuses are:

      • InProgress - The job is in progress.

      • Completed - The job has completed.

      • Failed - The transform job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTransformJob call.

      • Stopping - The transform job is stopping.

      • Stopped - The transform job has stopped.

      Parameters:
      transformJobStatus - The status of the transform job.

      Transform job statuses are:

      • InProgress - The job is in progress.

      • Completed - The job has completed.

      • Failed - The transform job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTransformJob call.

      • Stopping - The transform job is stopping.

      • Stopped - The transform job has stopped.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transformJobStatus

      TransformJob.Builder transformJobStatus(TransformJobStatus transformJobStatus)

      The status of the transform job.

      Transform job statuses are:

      • InProgress - The job is in progress.

      • Completed - The job has completed.

      • Failed - The transform job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTransformJob call.

      • Stopping - The transform job is stopping.

      • Stopped - The transform job has stopped.

      Parameters:
      transformJobStatus - The status of the transform job.

      Transform job statuses are:

      • InProgress - The job is in progress.

      • Completed - The job has completed.

      • Failed - The transform job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTransformJob call.

      • Stopping - The transform job is stopping.

      • Stopped - The transform job has stopped.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      TransformJob.Builder failureReason(String failureReason)

      If the transform job failed, the reason it failed.

      Parameters:
      failureReason - If the transform job failed, the reason it failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelName

      TransformJob.Builder modelName(String modelName)

      The name of the model associated with the transform job.

      Parameters:
      modelName - The name of the model associated with the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxConcurrentTransforms

      TransformJob.Builder maxConcurrentTransforms(Integer maxConcurrentTransforms)

      The maximum number of parallel requests that can be sent to each instance in a transform job. If MaxConcurrentTransforms is set to 0 or left unset, SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is 1. For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.

      Parameters:
      maxConcurrentTransforms - The maximum number of parallel requests that can be sent to each instance in a transform job. If MaxConcurrentTransforms is set to 0 or left unset, SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is 1. For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelClientConfig

      TransformJob.Builder modelClientConfig(ModelClientConfig modelClientConfig)
      Sets the value of the ModelClientConfig property for this object.
      Parameters:
      modelClientConfig - The new value for the ModelClientConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelClientConfig

      default TransformJob.Builder modelClientConfig(Consumer<ModelClientConfig.Builder> modelClientConfig)
      Sets the value of the ModelClientConfig property for this object. This is a convenience method that creates an instance of the ModelClientConfig.Builder avoiding the need to create one manually via ModelClientConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to modelClientConfig(ModelClientConfig).

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

      TransformJob.Builder maxPayloadInMB(Integer maxPayloadInMB)

      The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The value in MaxPayloadInMB must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to 0. This feature works only in supported algorithms. Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.

      Parameters:
      maxPayloadInMB - The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The value in MaxPayloadInMB must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to 0. This feature works only in supported algorithms. Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • batchStrategy

      TransformJob.Builder batchStrategy(String batchStrategy)

      Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.

      Parameters:
      batchStrategy - Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • batchStrategy

      TransformJob.Builder batchStrategy(BatchStrategy batchStrategy)

      Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.

      Parameters:
      batchStrategy - Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environment

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

      TransformJob.Builder transformInput(TransformInput transformInput)
      Sets the value of the TransformInput property for this object.
      Parameters:
      transformInput - The new value for the TransformInput property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformInput

      default TransformJob.Builder transformInput(Consumer<TransformInput.Builder> transformInput)
      Sets the value of the TransformInput property for this object. 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

      TransformJob.Builder transformOutput(TransformOutput transformOutput)
      Sets the value of the TransformOutput property for this object.
      Parameters:
      transformOutput - The new value for the TransformOutput property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformOutput

      default TransformJob.Builder transformOutput(Consumer<TransformOutput.Builder> transformOutput)
      Sets the value of the TransformOutput property for this object. 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:
    • dataCaptureConfig

      TransformJob.Builder dataCaptureConfig(BatchDataCaptureConfig dataCaptureConfig)
      Sets the value of the DataCaptureConfig property for this object.
      Parameters:
      dataCaptureConfig - The new value for the DataCaptureConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataCaptureConfig

      default TransformJob.Builder dataCaptureConfig(Consumer<BatchDataCaptureConfig.Builder> dataCaptureConfig)
      Sets the value of the DataCaptureConfig property for this object. This is a convenience method that creates an instance of the BatchDataCaptureConfig.Builder avoiding the need to create one manually via BatchDataCaptureConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataCaptureConfig(BatchDataCaptureConfig).

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

      TransformJob.Builder transformResources(TransformResources transformResources)
      Sets the value of the TransformResources property for this object.
      Parameters:
      transformResources - The new value for the TransformResources property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformResources

      default TransformJob.Builder transformResources(Consumer<TransformResources.Builder> transformResources)
      Sets the value of the TransformResources property for this object. 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:
    • creationTime

      TransformJob.Builder creationTime(Instant creationTime)

      A timestamp that shows when the transform Job was created.

      Parameters:
      creationTime - A timestamp that shows when the transform Job was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformStartTime

      TransformJob.Builder transformStartTime(Instant transformStartTime)

      Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value of TransformEndTime.

      Parameters:
      transformStartTime - Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value of TransformEndTime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformEndTime

      TransformJob.Builder transformEndTime(Instant transformEndTime)

      Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time interval between this time and the value of TransformStartTime.

      Parameters:
      transformEndTime - Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time interval between this time and the value of TransformStartTime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labelingJobArn

      TransformJob.Builder labelingJobArn(String labelingJobArn)

      The Amazon Resource Name (ARN) of the labeling job that created the transform job.

      Parameters:
      labelingJobArn - The Amazon Resource Name (ARN) of the labeling job that created the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoMLJobArn

      TransformJob.Builder autoMLJobArn(String autoMLJobArn)

      The Amazon Resource Name (ARN) of the AutoML job that created the transform job.

      Parameters:
      autoMLJobArn - The Amazon Resource Name (ARN) of the AutoML job that created the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataProcessing

      TransformJob.Builder dataProcessing(DataProcessing dataProcessing)
      Sets the value of the DataProcessing property for this object.
      Parameters:
      dataProcessing - The new value for the DataProcessing property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataProcessing

      default TransformJob.Builder dataProcessing(Consumer<DataProcessing.Builder> dataProcessing)
      Sets the value of the DataProcessing property for this object. This is a convenience method that creates an instance of the DataProcessing.Builder avoiding the need to create one manually via DataProcessing.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataProcessing(DataProcessing).

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

      TransformJob.Builder experimentConfig(ExperimentConfig experimentConfig)
      Sets the value of the ExperimentConfig property for this object.
      Parameters:
      experimentConfig - The new value for the ExperimentConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • experimentConfig

      default TransformJob.Builder experimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig)
      Sets the value of the ExperimentConfig property for this object. This is a convenience method that creates an instance of the ExperimentConfig.Builder avoiding the need to create one manually via ExperimentConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to experimentConfig(ExperimentConfig).

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

      A list of tags associated with the transform job.

      Parameters:
      tags - A list of tags associated with the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      TransformJob.Builder tags(Tag... tags)

      A list of tags associated with the transform job.

      Parameters:
      tags - A list of tags associated with the transform job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags associated with the transform job.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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