Interface EksAttemptDetail.Builder

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

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

    • containers

      The details for the final status of the containers for this job attempt.

      Parameters:
      containers - The details for the final status of the containers for this job attempt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      The details for the final status of the containers for this job attempt.

      Parameters:
      containers - The details for the final status of the containers for this job attempt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      The details for the final status of the containers for this job attempt.

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

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

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

      EksAttemptDetail.Builder podName(String podName)

      The name of the pod for this job attempt.

      Parameters:
      podName - The name of the pod for this job attempt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeName

      EksAttemptDetail.Builder nodeName(String nodeName)

      The name of the node for this job attempt.

      Parameters:
      nodeName - The name of the node for this job attempt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      EksAttemptDetail.Builder startedAt(Long startedAt)

      The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING state to the RUNNING state).

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

      EksAttemptDetail.Builder stoppedAt(Long stoppedAt)

      The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED.

      Parameters:
      stoppedAt - The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      EksAttemptDetail.Builder statusReason(String statusReason)

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

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