Interface EcsTaskDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EcsTaskDetails.Builder,EcsTaskDetails>,SdkBuilder<EcsTaskDetails.Builder,EcsTaskDetails>,SdkPojo
- Enclosing class:
- EcsTaskDetails
public static interface EcsTaskDetails.Builder extends SdkPojo, CopyableBuilder<EcsTaskDetails.Builder,EcsTaskDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EcsTaskDetails.Builderarn(String arn)The Amazon Resource Name (ARN) of the task.EcsTaskDetails.Buildercontainers(Collection<Container> containers)The containers that's associated with the task.EcsTaskDetails.Buildercontainers(Consumer<Container.Builder>... containers)The containers that's associated with the task.EcsTaskDetails.Buildercontainers(Container... containers)The containers that's associated with the task.EcsTaskDetails.BuilderdefinitionArn(String definitionArn)The ARN of the task definition that creates the task.EcsTaskDetails.Buildergroup(String group)The name of the task group that's associated with the task.EcsTaskDetails.BuilderstartedAt(Instant startedAt)The Unix timestamp for the time when the task started.EcsTaskDetails.BuilderstartedBy(String startedBy)Contains the tag specified when a task is started.EcsTaskDetails.Buildertags(Collection<Tag> tags)The tags of the ECS Task.EcsTaskDetails.Buildertags(Consumer<Tag.Builder>... tags)The tags of the ECS Task.EcsTaskDetails.Buildertags(Tag... tags)The tags of the ECS Task.EcsTaskDetails.BuildertaskCreatedAt(Instant taskCreatedAt)The Unix timestamp for the time when the task was created.EcsTaskDetails.Builderversion(String version)The version counter for the task.EcsTaskDetails.Buildervolumes(Collection<Volume> volumes)The list of data volume definitions for the task.EcsTaskDetails.Buildervolumes(Consumer<Volume.Builder>... volumes)The list of data volume definitions for the task.EcsTaskDetails.Buildervolumes(Volume... volumes)The list of data volume definitions for the task.-
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 Detail
-
arn
EcsTaskDetails.Builder arn(String arn)
The Amazon Resource Name (ARN) of the task.
- Parameters:
arn- The Amazon Resource Name (ARN) of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitionArn
EcsTaskDetails.Builder definitionArn(String definitionArn)
The ARN of the task definition that creates the task.
- Parameters:
definitionArn- The ARN of the task definition that creates the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
EcsTaskDetails.Builder version(String version)
The version counter for the task.
- Parameters:
version- The version counter for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskCreatedAt
EcsTaskDetails.Builder taskCreatedAt(Instant taskCreatedAt)
The Unix timestamp for the time when the task was created.
- Parameters:
taskCreatedAt- The Unix timestamp for the time when the task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
EcsTaskDetails.Builder startedAt(Instant startedAt)
The Unix timestamp for the time when the task started.
- Parameters:
startedAt- The Unix timestamp for the time when the task started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedBy
EcsTaskDetails.Builder startedBy(String startedBy)
Contains the tag specified when a task is started.
- Parameters:
startedBy- Contains the tag specified when a task is started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EcsTaskDetails.Builder tags(Collection<Tag> tags)
The tags of the ECS Task.
- Parameters:
tags- The tags of the ECS Task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EcsTaskDetails.Builder tags(Tag... tags)
The tags of the ECS Task.
- Parameters:
tags- The tags of the ECS Task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EcsTaskDetails.Builder tags(Consumer<Tag.Builder>... tags)
The tags of the ECS Task.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
volumes
EcsTaskDetails.Builder volumes(Collection<Volume> volumes)
The list of data volume definitions for the task.
- Parameters:
volumes- The list of data volume definitions for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
EcsTaskDetails.Builder volumes(Volume... volumes)
The list of data volume definitions for the task.
- Parameters:
volumes- The list of data volume definitions for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
EcsTaskDetails.Builder volumes(Consumer<Volume.Builder>... volumes)
The list of data volume definitions for the task.
This is a convenience method that creates an instance of theVolume.Builderavoiding the need to create one manually viaVolume.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#volumes(List.) - Parameters:
volumes- a consumer that will call methods onVolume.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#volumes(java.util.Collection)
-
containers
EcsTaskDetails.Builder containers(Collection<Container> containers)
The containers that's associated with the task.
- Parameters:
containers- The containers that's associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
EcsTaskDetails.Builder containers(Container... containers)
The containers that's associated with the task.
- Parameters:
containers- The containers that's associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
EcsTaskDetails.Builder containers(Consumer<Container.Builder>... containers)
The containers that's associated with the task.
This is a convenience method that creates an instance of theContainer.Builderavoiding the need to create one manually viaContainer.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 onContainer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containers(java.util.Collection)
-
group
EcsTaskDetails.Builder group(String group)
The name of the task group that's associated with the task.
- Parameters:
group- The name of the task group that's associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-