public static interface AttemptDetail.Builder extends SdkPojo, CopyableBuilder<AttemptDetail.Builder,AttemptDetail>
Modifier and Type | Method and Description |
---|---|
AttemptDetail.Builder |
container(AttemptContainerDetail container)
Details about the container in this job attempt.
|
default AttemptDetail.Builder |
container(Consumer<AttemptContainerDetail.Builder> container)
Details about the container in this job attempt.
|
AttemptDetail.Builder |
startedAt(Long startedAt)
The Unix timestamp (in seconds and 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 about the current status of the job attempt.
|
AttemptDetail.Builder |
stoppedAt(Long stoppedAt)
The Unix timestamp (in seconds and 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, sdkFields
copy
applyMutation, build
AttemptDetail.Builder container(AttemptContainerDetail container)
Details about the container in this job attempt.
container
- Details about the container in this job attempt.default AttemptDetail.Builder container(Consumer<AttemptContainerDetail.Builder> container)
Details about the container in this job attempt.
This is a convenience 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.Builder
container(AttemptContainerDetail)
AttemptDetail.Builder startedAt(Long startedAt)
The Unix timestamp (in seconds and milliseconds) for when the attempt was started (when the attempt
transitioned from the STARTING
state to the RUNNING
state).
startedAt
- The Unix timestamp (in seconds and 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 seconds and 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 seconds and 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 about the current status of the job attempt.
statusReason
- A short, human-readable string to provide additional details about the current status of the job
attempt.Copyright © 2020. All rights reserved.