public static interface AttemptDetail.Builder extends 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 for when the attempt was started (when the task transitioned from the
PENDING
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 for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED state). |
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 for when the attempt was started (when the task transitioned from the PENDING
state to the RUNNING
state).
startedAt
- The Unix timestamp for when the attempt was started (when the task transitioned from the
PENDING
state to the RUNNING
state).AttemptDetail.Builder stoppedAt(Long stoppedAt)
The Unix timestamp for when the attempt was stopped (when the task transitioned from the RUNNING
state to the STOPPED
state).
stoppedAt
- The Unix timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED
state).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 © 2017 Amazon Web Services, Inc. All Rights Reserved.