Interface AttemptDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttemptDetail.Builder,,AttemptDetail> SdkBuilder<AttemptDetail.Builder,,AttemptDetail> SdkPojo
- Enclosing class:
AttemptDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttemptDetail.Buildercontainer(Consumer<AttemptContainerDetail.Builder> container) The details for the container in this job attempt.container(AttemptContainerDetail container) The details for the container in this job attempt.The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from theSTARTINGstate to theRUNNINGstate).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 (when the attempt transitioned from theRUNNINGstate to a terminal state, such asSUCCEEDEDorFAILED).taskProperties(Collection<AttemptEcsTaskDetails> taskProperties) The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.taskProperties(Consumer<AttemptEcsTaskDetails.Builder>... taskProperties) The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.taskProperties(AttemptEcsTaskDetails... taskProperties) The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
container
The details for the container in this job attempt.
- Parameters:
container- The details for the container in this job attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
The details for the container in this job attempt.
This is a convenience method that creates an instance of theAttemptContainerDetail.Builderavoiding the need to create one manually viaAttemptContainerDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainer(AttemptContainerDetail).- Parameters:
container- a consumer that will call methods onAttemptContainerDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The Unix timestamp (in milliseconds) for when the attempt was stopped (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 (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
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.
-
taskProperties
The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
- Parameters:
taskProperties- The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
- Parameters:
taskProperties- The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
This is a convenience method that creates an instance of theAttemptEcsTaskDetails.Builderavoiding the need to create one manually viaAttemptEcsTaskDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskProperties(List<AttemptEcsTaskDetails>).- Parameters:
taskProperties- a consumer that will call methods onAttemptEcsTaskDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-