Interface DescribeServiceJobResponse.Builder

    • Method Detail

      • attempts

        DescribeServiceJobResponse.Builder attempts​(ServiceJobAttemptDetail... attempts)

        A list of job attempts associated with the service job.

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

        DescribeServiceJobResponse.Builder capacityUsage​(Collection<ServiceJobCapacityUsageDetail> capacityUsage)

        The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the serviceRequestPayload.InstanceCount field.

        Parameters:
        capacityUsage - The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the serviceRequestPayload.InstanceCount field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityUsage

        DescribeServiceJobResponse.Builder capacityUsage​(ServiceJobCapacityUsageDetail... capacityUsage)

        The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the serviceRequestPayload.InstanceCount field.

        Parameters:
        capacityUsage - The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the serviceRequestPayload.InstanceCount field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

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

        DescribeServiceJobResponse.Builder isTerminated​(Boolean isTerminated)

        Indicates whether the service job has been terminated.

        Parameters:
        isTerminated - Indicates whether the service job has been terminated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobArn

        DescribeServiceJobResponse.Builder jobArn​(String 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

        DescribeServiceJobResponse.Builder jobId​(String 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

        DescribeServiceJobResponse.Builder jobName​(String 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.
      • jobQueue

        DescribeServiceJobResponse.Builder jobQueue​(String jobQueue)

        The ARN of the job queue that the service job is associated with.

        Parameters:
        jobQueue - The ARN of the job queue that the service job is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestAttempt

        DescribeServiceJobResponse.Builder latestAttempt​(LatestServiceJobAttempt latestAttempt)

        The latest attempt associated with the service job.

        Parameters:
        latestAttempt - The latest attempt associated with the service job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retryStrategy

        DescribeServiceJobResponse.Builder retryStrategy​(ServiceJobRetryStrategy retryStrategy)

        The retry strategy to use for failed service jobs that are submitted with this service job.

        Parameters:
        retryStrategy - The retry strategy to use for failed service jobs that are submitted with this service job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduledAt

        DescribeServiceJobResponse.Builder scheduledAt​(Long scheduledAt)

        The Unix timestamp (in milliseconds) for when the service job was scheduled. This represents when the service job was dispatched to SageMaker and the service job transitioned to the SCHEDULED state.

        Parameters:
        scheduledAt - The Unix timestamp (in milliseconds) for when the service job was scheduled. This represents when the service job was dispatched to SageMaker and the service job transitioned to the SCHEDULED state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schedulingPriority

        DescribeServiceJobResponse.Builder schedulingPriority​(Integer schedulingPriority)

        The scheduling priority of the service job.

        Parameters:
        schedulingPriority - The scheduling priority of the service job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceRequestPayload

        DescribeServiceJobResponse.Builder serviceRequestPayload​(String serviceRequestPayload)

        The request, in JSON, for the service that the SubmitServiceJob operation is queueing.

        Parameters:
        serviceRequestPayload - The request, in JSON, for the service that the SubmitServiceJob operation is queueing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceJobType

        DescribeServiceJobResponse.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, ServiceJobType
      • serviceJobType

        DescribeServiceJobResponse.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:
        ServiceJobType, ServiceJobType
      • shareIdentifier

        DescribeServiceJobResponse.Builder shareIdentifier​(String shareIdentifier)

        The share identifier for the service job. This is used for fair-share scheduling.

        Parameters:
        shareIdentifier - The share identifier for the service job. This is used for fair-share scheduling.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

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

        DescribeServiceJobResponse.Builder statusReason​(String statusReason)

        A short, human-readable string to provide more details for the current status of the service job.

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

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

        DescribeServiceJobResponse.Builder timeoutConfig​(ServiceJobTimeout timeoutConfig)

        The timeout configuration for the service job.

        Parameters:
        timeoutConfig - The timeout configuration for the service job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.