Interface AwsEcsTaskDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsTaskDetails.Builder,
,AwsEcsTaskDetails> SdkBuilder<AwsEcsTaskDetails.Builder,
,AwsEcsTaskDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDetails
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name (ARN) of the cluster that hosts the task.containers
(Collection<AwsEcsContainerDetails> containers) The containers that are associated with the task.containers
(Consumer<AwsEcsContainerDetails.Builder>... containers) The containers that are associated with the task.containers
(AwsEcsContainerDetails... containers) The containers that are associated with the task.The Unix timestamp for the time when the task was created.The name of the task group that's associated with the task.The Unix timestamp for the time when the task started.The tag specified when a task is started.taskDefinitionArn
(String taskDefinitionArn) The ARN of the task definition that creates the task.The version counter for the task.volumes
(Collection<AwsEcsTaskVolumeDetails> volumes) Details about the data volume that is used in a task definition.volumes
(Consumer<AwsEcsTaskVolumeDetails.Builder>... volumes) Details about the data volume that is used in a task definition.volumes
(AwsEcsTaskVolumeDetails... volumes) Details about the data volume that is used in a task definition.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
-
clusterArn
The Amazon Resource Name (ARN) of the cluster that hosts the task.
- Parameters:
clusterArn
- The Amazon Resource Name (ARN) of the cluster that hosts the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDefinitionArn
The ARN of the task definition that creates the task.
- Parameters:
taskDefinitionArn
- 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.
-
createdAt
The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the
PENDING
state.- Parameters:
createdAt
- The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered thePENDING
state.- 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. More specifically, it's for the time when the task transitioned from the
PENDING
state to theRUNNING
state.- Parameters:
startedAt
- The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from thePENDING
state to theRUNNING
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedBy
The tag specified when a task is started. If an Amazon ECS service started the task, the
startedBy
parameter contains the deployment ID of that service.- Parameters:
startedBy
- The tag specified when a task is started. If an Amazon ECS service started the task, thestartedBy
parameter contains the deployment ID of that service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
volumes
Details about the data volume that is used in a task definition.
- Parameters:
volumes
- Details about the data volume that is used in a task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
Details about the data volume that is used in a task definition.
- Parameters:
volumes
- Details about the data volume that is used in a task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
Details about the data volume that is used in a task definition.
This is a convenience method that creates an instance of theAwsEcsTaskVolumeDetails.Builder
avoiding the need to create one manually viaAwsEcsTaskVolumeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolumes(List<AwsEcsTaskVolumeDetails>)
.- Parameters:
volumes
- a consumer that will call methods onAwsEcsTaskVolumeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containers
The containers that are associated with the task.
- Parameters:
containers
- The containers that are associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
The containers that are associated with the task.
- Parameters:
containers
- The containers that are associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
The containers that are associated with the task.
This is a convenience method that creates an instance of theAwsEcsContainerDetails.Builder
avoiding the need to create one manually viaAwsEcsContainerDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainers(List<AwsEcsContainerDetails>)
.- Parameters:
containers
- a consumer that will call methods onAwsEcsContainerDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-