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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EksAttemptDetail.Buildercontainers(Collection<EksAttemptContainerDetail> containers)The details for the final status of the containers for this job attempt.EksAttemptDetail.Buildercontainers(Consumer<EksAttemptContainerDetail.Builder>... containers)The details for the final status of the containers for this job attempt.EksAttemptDetail.Buildercontainers(EksAttemptContainerDetail... containers)The details for the final status of the containers for this job attempt.EksAttemptDetail.BuildereksClusterArn(String eksClusterArn)The Amazon Resource Name (ARN) of the Amazon EKS cluster.EksAttemptDetail.BuilderinitContainers(Collection<EksAttemptContainerDetail> initContainers)The details for the init containers.EksAttemptDetail.BuilderinitContainers(Consumer<EksAttemptContainerDetail.Builder>... initContainers)The details for the init containers.EksAttemptDetail.BuilderinitContainers(EksAttemptContainerDetail... initContainers)The details for the init containers.EksAttemptDetail.BuildernodeName(String nodeName)The name of the node for this job attempt.EksAttemptDetail.BuilderpodName(String podName)The name of the pod for this job attempt.EksAttemptDetail.BuilderpodNamespace(String podNamespace)The namespace of the Amazon EKS cluster that the pod exists in.EksAttemptDetail.BuilderstartedAt(Long startedAt)The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from theSTARTINGstate to theRUNNINGstate).EksAttemptDetail.BuilderstatusReason(String statusReason)A short, human-readable string to provide additional details for the current status of the job attempt.EksAttemptDetail.BuilderstoppedAt(Long stoppedAt)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
containers
EksAttemptDetail.Builder containers(Collection<EksAttemptContainerDetail> 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
EksAttemptDetail.Builder containers(EksAttemptContainerDetail... 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
EksAttemptDetail.Builder containers(Consumer<EksAttemptContainerDetail.Builder>... 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.Builderavoiding the need to create one manually viaEksAttemptContainerDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#containers(List.) - 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:
#containers(java.util.Collection)
-
initContainers
EksAttemptDetail.Builder initContainers(Collection<EksAttemptContainerDetail> 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(EksAttemptContainerDetail... 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.Builderavoiding the need to create one manually viaEksAttemptContainerDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#initContainers(List.) - 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:
#initContainers(java.util.Collection)
-
eksClusterArn
EksAttemptDetail.Builder eksClusterArn(String eksClusterArn)
The Amazon Resource Name (ARN) of the Amazon EKS cluster.
- Parameters:
eksClusterArn- The Amazon Resource Name (ARN) of the Amazon EKS cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
podNamespace
EksAttemptDetail.Builder podNamespace(String podNamespace)
The namespace of the Amazon EKS cluster that the pod exists in.
- Parameters:
podNamespace- The namespace of the Amazon EKS cluster that the pod exists in.- 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
STARTINGstate to theRUNNINGstate).- Parameters:
startedAt- The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from theSTARTINGstate to theRUNNINGstate).- 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
RUNNINGstate to a terminal state, such asSUCCEEDEDorFAILED.- Parameters:
stoppedAt- The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from theRUNNINGstate to a terminal state, such asSUCCEEDEDorFAILED.- 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.
-
-