Interface ServiceJobPreemptionSummary.Builder

    • Method Detail

      • preemptedAttemptCount

        ServiceJobPreemptionSummary.Builder preemptedAttemptCount​(Integer preemptedAttemptCount)

        The total number of times the service job has been preempted.

        Parameters:
        preemptedAttemptCount - The total number of times the service job has been preempted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recentPreemptedAttempts

        ServiceJobPreemptionSummary.Builder recentPreemptedAttempts​(Collection<ServiceJobPreemptedAttempt> recentPreemptedAttempts)

        A list of the most recent preemption attempts for the service job.

        Parameters:
        recentPreemptedAttempts - A list of the most recent preemption attempts for the service job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recentPreemptedAttempts

        ServiceJobPreemptionSummary.Builder recentPreemptedAttempts​(ServiceJobPreemptedAttempt... recentPreemptedAttempts)

        A list of the most recent preemption attempts for the service job.

        Parameters:
        recentPreemptedAttempts - A list of the most recent preemption attempts for the service job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.