public static interface EcsTaskDetails.Builder extends SdkPojo, CopyableBuilder<EcsTaskDetails.Builder,EcsTaskDetails>
| Modifier and Type | Method and Description |
|---|---|
EcsTaskDetails.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the task.
|
EcsTaskDetails.Builder |
containers(Collection<Container> containers)
The containers that's associated with the task.
|
EcsTaskDetails.Builder |
containers(Consumer<Container.Builder>... containers)
The containers that's associated with the task.
|
EcsTaskDetails.Builder |
containers(Container... containers)
The containers that's associated with the task.
|
EcsTaskDetails.Builder |
definitionArn(String definitionArn)
The ARN of the task definition that creates the task.
|
EcsTaskDetails.Builder |
group(String group)
The name of the task group that's associated with the task.
|
EcsTaskDetails.Builder |
startedAt(Instant startedAt)
The Unix timestamp for the time when the task started.
|
EcsTaskDetails.Builder |
startedBy(String startedBy)
Contains the tag specified when a task is started.
|
EcsTaskDetails.Builder |
tags(Collection<Tag> tags)
The tags of the ECS Task.
|
EcsTaskDetails.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags of the ECS Task.
|
EcsTaskDetails.Builder |
tags(Tag... tags)
The tags of the ECS Task.
|
EcsTaskDetails.Builder |
taskCreatedAt(Instant taskCreatedAt)
The Unix timestamp for the time when the task was created.
|
EcsTaskDetails.Builder |
version(String version)
The version counter for the task.
|
EcsTaskDetails.Builder |
volumes(Collection<Volume> volumes)
The list of data volume definitions for the task.
|
EcsTaskDetails.Builder |
volumes(Consumer<Volume.Builder>... volumes)
The list of data volume definitions for the task.
|
EcsTaskDetails.Builder |
volumes(Volume... volumes)
The list of data volume definitions for the task.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEcsTaskDetails.Builder arn(String arn)
The Amazon Resource Name (ARN) of the task.
arn - The Amazon Resource Name (ARN) of the task.EcsTaskDetails.Builder definitionArn(String definitionArn)
The ARN of the task definition that creates the task.
definitionArn - The ARN of the task definition that creates the task.EcsTaskDetails.Builder version(String version)
The version counter for the task.
version - The version counter for the task.EcsTaskDetails.Builder taskCreatedAt(Instant taskCreatedAt)
The Unix timestamp for the time when the task was created.
taskCreatedAt - The Unix timestamp for the time when the task was created.EcsTaskDetails.Builder startedAt(Instant startedAt)
The Unix timestamp for the time when the task started.
startedAt - The Unix timestamp for the time when the task started.EcsTaskDetails.Builder startedBy(String startedBy)
Contains the tag specified when a task is started.
startedBy - Contains the tag specified when a task is started.EcsTaskDetails.Builder tags(Collection<Tag> tags)
The tags of the ECS Task.
tags - The tags of the ECS Task.EcsTaskDetails.Builder tags(Tag... tags)
The tags of the ECS Task.
tags - The tags of the ECS Task.EcsTaskDetails.Builder tags(Consumer<Tag.Builder>... 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
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) EcsTaskDetails.Builder volumes(Collection<Volume> volumes)
The list of data volume definitions for the task.
volumes - The list of data volume definitions for the task.EcsTaskDetails.Builder volumes(Volume... volumes)
The list of data volume definitions for the task.
volumes - The list of data volume definitions for the task.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.Builder avoiding the need to create one
manually via Volume.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #volumes(List.
volumes - a consumer that will call methods on
Volume.Builder#volumes(java.util.Collection) EcsTaskDetails.Builder containers(Collection<Container> containers)
The containers that's associated with the task.
containers - The containers that's associated with the task.EcsTaskDetails.Builder containers(Container... containers)
The containers that's associated with the task.
containers - The containers that's associated with the task.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.Builder avoiding the need to create one
manually via Container.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #containers(List.
containers - a consumer that will call methods on
Container.Builder#containers(java.util.Collection) EcsTaskDetails.Builder group(String group)
The name of the task group that's associated with the task.
group - The name of the task group that's associated with the task.Copyright © 2023. All rights reserved.