Interface EksAttemptDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EksAttemptDetail.Builder,
,EksAttemptDetail> SdkBuilder<EksAttemptDetail.Builder,
,EksAttemptDetail> SdkPojo
- Enclosing class:
EksAttemptDetail
-
Method Summary
Modifier and TypeMethodDescriptioncontainers
(Collection<EksAttemptContainerDetail> containers) The details for the final status of the containers for this job attempt.containers
(Consumer<EksAttemptContainerDetail.Builder>... containers) The details for the final status of the containers for this job attempt.containers
(EksAttemptContainerDetail... containers) The details for the final status of the containers for this job attempt.initContainers
(Collection<EksAttemptContainerDetail> initContainers) The details for the init containers.initContainers
(Consumer<EksAttemptContainerDetail.Builder>... initContainers) The details for the init containers.initContainers
(EksAttemptContainerDetail... initContainers) The details for the init containers.The name of the node for this job attempt.The name of the pod for this job attempt.The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from theSTARTING
state to theRUNNING
state).statusReason
(String statusReason) A short, human-readable string to provide additional details for the current status of the job attempt.The Unix timestamp (in milliseconds) for when the attempt was stopped.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 theEksAttemptContainerDetail.Builder
avoiding the need to create one manually viaEksAttemptContainerDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainers(List<EksAttemptContainerDetail>)
.- Parameters:
containers
- a consumer that will call methods onEksAttemptContainerDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initContainers
The details for the init containers.
- Parameters:
initContainers
- The details for the init containers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initContainers
The details for the init containers.
- Parameters:
initContainers
- The details for the init containers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initContainers
EksAttemptDetail.Builder initContainers(Consumer<EksAttemptContainerDetail.Builder>... initContainers) The details for the init containers.
This is a convenience method that creates an instance of theEksAttemptContainerDetail.Builder
avoiding the need to create one manually viaEksAttemptContainerDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitContainers(List<EksAttemptContainerDetail>)
.- Parameters:
initContainers
- a consumer that will call methods onEksAttemptContainerDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the
STARTING
state to theRUNNING
state).- Parameters:
startedAt
- The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from theSTARTING
state to theRUNNING
state).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 asSUCCEEDED
orFAILED
.- Parameters:
stoppedAt
- The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from theRUNNING
state to a terminal state, such asSUCCEEDED
orFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-