public static interface AttemptDetail.Builder extends SdkPojo, CopyableBuilder<AttemptDetail.Builder,AttemptDetail>
| Modifier and Type | Method and Description |
|---|---|
AttemptDetail.Builder |
container(AttemptContainerDetail container)
The details for the container in this job attempt.
|
default AttemptDetail.Builder |
container(Consumer<AttemptContainerDetail.Builder> container)
The details for the container in this job attempt.
|
AttemptDetail.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). |
AttemptDetail.Builder |
statusReason(String statusReason)
A short, human-readable string to provide additional details for the current status of the job attempt.
|
AttemptDetail.Builder |
stoppedAt(Long stoppedAt)
The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the
RUNNING state to a terminal state, such as SUCCEEDED or FAILED). |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAttemptDetail.Builder container(AttemptContainerDetail container)
The details for the container in this job attempt.
container - The details for the container in this job attempt.default AttemptDetail.Builder container(Consumer<AttemptContainerDetail.Builder> container)
The details for the container in this job attempt.
This is a convenience method that creates an instance of theAttemptContainerDetail.Builder avoiding
the need to create one manually via AttemptContainerDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to container(AttemptContainerDetail).
container - a consumer that will call methods on AttemptContainerDetail.Buildercontainer(AttemptContainerDetail)AttemptDetail.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).
startedAt - The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned
from the STARTING state to the RUNNING state).AttemptDetail.Builder stoppedAt(Long stoppedAt)
The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the
RUNNING state to a terminal state, such as SUCCEEDED or FAILED).
stoppedAt - The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned
from the RUNNING state to a terminal state, such as SUCCEEDED or
FAILED).AttemptDetail.Builder statusReason(String statusReason)
A short, human-readable string to provide additional details for the current status of the job attempt.
statusReason - A short, human-readable string to provide additional details for the current status of the job
attempt.Copyright © 2023. All rights reserved.