Interface EcsTaskDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EcsTaskDetails.Builder,
,EcsTaskDetails> SdkBuilder<EcsTaskDetails.Builder,
,EcsTaskDetails> SdkPojo
- Enclosing class:
EcsTaskDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the task.containers
(Collection<Container> containers) The containers that's associated with the task.containers
(Consumer<Container.Builder>... containers) The containers that's associated with the task.containers
(Container... containers) The containers that's associated with the task.definitionArn
(String definitionArn) The ARN of the task definition that creates the task.The name of the task group that's associated with the task.launchType
(String launchType) A capacity on which the task is running.The Unix timestamp for the time when the task started.Contains the tag specified when a task is started.tags
(Collection<Tag> tags) The tags of the ECS Task.tags
(Consumer<Tag.Builder>... tags) The tags of the ECS Task.The tags of the ECS Task.taskCreatedAt
(Instant taskCreatedAt) The Unix timestamp for the time when the task was created.The version counter for the task.volumes
(Collection<Volume> volumes) The list of data volume definitions for the task.volumes
(Consumer<Volume.Builder>... volumes) The list of data volume definitions for the task.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 Details
-
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
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
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
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
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
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
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
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
The tags of the ECS Task.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
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
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
The list of data volume definitions for the task.
This is a convenience method that creates an instance of theVolume.Builder
avoiding the need to create one manually viaVolume.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolumes(List<Volume>)
.- 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:
-
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
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
The containers that's associated with the task.
This is a convenience method that creates an instance of theContainer.Builder
avoiding the need to create one manually viaContainer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainers(List<Container>)
.- 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:
-
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.
-
launchType
A capacity on which the task is running. For example,
Fargate
andEC2
.- Parameters:
launchType
- A capacity on which the task is running. For example,Fargate
andEC2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-