Interface ServiceJobSummary.Builder

  • Method Details

    • latestAttempt

      ServiceJobSummary.Builder latestAttempt(LatestServiceJobAttempt latestAttempt)

      Information about the latest attempt for the service job.

      Parameters:
      latestAttempt - Information about the latest attempt for the service job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestAttempt

      default ServiceJobSummary.Builder latestAttempt(Consumer<LatestServiceJobAttempt.Builder> latestAttempt)

      Information about the latest attempt for the service job.

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

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

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

      ServiceJobSummary.Builder createdAt(Long createdAt)

      The Unix timestamp (in milliseconds) for when the service job was created.

      Parameters:
      createdAt - The Unix timestamp (in milliseconds) for when the service job was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobArn

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

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

      The job ID for the service job.

      Parameters:
      jobId - The job ID for the service job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobName

      The name of the service job.

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

      ServiceJobSummary.Builder serviceJobType(String serviceJobType)

      The type of service job. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.

      Parameters:
      serviceJobType - The type of service job. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceJobType

      ServiceJobSummary.Builder serviceJobType(ServiceJobType serviceJobType)

      The type of service job. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.

      Parameters:
      serviceJobType - The type of service job. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shareIdentifier

      ServiceJobSummary.Builder shareIdentifier(String shareIdentifier)

      The share identifier for the job.

      Parameters:
      shareIdentifier - The share identifier for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the service job.

      Parameters:
      status - The current status of the service job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the service job.

      Parameters:
      status - The current status of the service job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      ServiceJobSummary.Builder statusReason(String statusReason)

      A short string to provide more details on the current status of the service job.

      Parameters:
      statusReason - A short string to provide more details on the current status of the service job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      ServiceJobSummary.Builder startedAt(Long startedAt)

      The Unix timestamp (in milliseconds) for when the service job was started.

      Parameters:
      startedAt - The Unix timestamp (in milliseconds) for when the service job was started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedAt

      ServiceJobSummary.Builder stoppedAt(Long stoppedAt)

      The Unix timestamp (in milliseconds) for when the service job stopped running.

      Parameters:
      stoppedAt - The Unix timestamp (in milliseconds) for when the service job stopped running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.