Interface TaskSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TaskSummary.Builder,,TaskSummary> SdkBuilder<TaskSummary.Builder,,TaskSummary> SdkPojo
- Enclosing class:
TaskSummary
@Mutable
@NotThreadSafe
public static interface TaskSummary.Builder
extends SdkPojo, CopyableBuilder<TaskSummary.Builder,TaskSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe time the task was created, in Unix epoch time.description(String description) The description of the task.default TaskSummary.Builderstatus(Consumer<ResourceStatus.Builder> status) The current lifecycle status of the task.status(ResourceStatus status) The current lifecycle status of the task.The ARN of the task.The name of the task.The time the task was last updated, in Unix epoch time.The version of the 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
-
taskName
The name of the task.
- Parameters:
taskName- The name of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the task.
- Parameters:
description- The description of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The ARN of the task.
- Parameters:
taskArn- The ARN of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the task.
- Parameters:
version- The version of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the task.
- Parameters:
status- The current lifecycle status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the task.
This is a convenience method that creates an instance of theResourceStatus.Builderavoiding the need to create one manually viaResourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ResourceStatus).- Parameters:
status- a consumer that will call methods onResourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the task was created, in Unix epoch time.
- Parameters:
createdAt- The time the task was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time the task was last updated, in Unix epoch time.
- Parameters:
updatedAt- The time the task was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-