Interface AwsEcsTaskDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsTaskDetails.Builder,AwsEcsTaskDetails>,SdkBuilder<AwsEcsTaskDetails.Builder,AwsEcsTaskDetails>,SdkPojo
- Enclosing class:
- AwsEcsTaskDetails
public static interface AwsEcsTaskDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDetails.Builder,AwsEcsTaskDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsTaskDetails.BuilderclusterArn(String clusterArn)The Amazon Resource Name (ARN) of the cluster that hosts the task.AwsEcsTaskDetails.Buildercontainers(Collection<AwsEcsContainerDetails> containers)The containers that are associated with the task.AwsEcsTaskDetails.Buildercontainers(Consumer<AwsEcsContainerDetails.Builder>... containers)The containers that are associated with the task.AwsEcsTaskDetails.Buildercontainers(AwsEcsContainerDetails... containers)The containers that are associated with the task.AwsEcsTaskDetails.BuildercreatedAt(String createdAt)The Unix timestamp for the time when the task was created.AwsEcsTaskDetails.Buildergroup(String group)The name of the task group that's associated with the task.AwsEcsTaskDetails.BuilderstartedAt(String startedAt)The Unix timestamp for the time when the task started.AwsEcsTaskDetails.BuilderstartedBy(String startedBy)The tag specified when a task is started.AwsEcsTaskDetails.BuildertaskDefinitionArn(String taskDefinitionArn)The ARN of the task definition that creates the task.AwsEcsTaskDetails.Builderversion(String version)The version counter for the task.AwsEcsTaskDetails.Buildervolumes(Collection<AwsEcsTaskVolumeDetails> volumes)Details about the data volume that is used in a task definition.AwsEcsTaskDetails.Buildervolumes(Consumer<AwsEcsTaskVolumeDetails.Builder>... volumes)Details about the data volume that is used in a task definition.AwsEcsTaskDetails.Buildervolumes(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 Detail
-
clusterArn
AwsEcsTaskDetails.Builder clusterArn(String 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
AwsEcsTaskDetails.Builder taskDefinitionArn(String 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
AwsEcsTaskDetails.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.
-
createdAt
AwsEcsTaskDetails.Builder createdAt(String createdAt)
The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the
PENDINGstate.- Parameters:
createdAt- The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered thePENDINGstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
AwsEcsTaskDetails.Builder startedAt(String startedAt)
The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the
PENDINGstate to theRUNNINGstate.- Parameters:
startedAt- The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from thePENDINGstate to theRUNNINGstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedBy
AwsEcsTaskDetails.Builder startedBy(String startedBy)
The tag specified when a task is started. If an Amazon ECS service started the task, the
startedByparameter 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, thestartedByparameter contains the deployment ID of that service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
AwsEcsTaskDetails.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.
-
volumes
AwsEcsTaskDetails.Builder volumes(Collection<AwsEcsTaskVolumeDetails> 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
AwsEcsTaskDetails.Builder volumes(AwsEcsTaskVolumeDetails... 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
AwsEcsTaskDetails.Builder volumes(Consumer<AwsEcsTaskVolumeDetails.Builder>... volumes)
Details about the data volume that is used in a task definition.
This is a convenience method that creates an instance of theAwsEcsTaskVolumeDetails.Builderavoiding the need to create one manually viaAwsEcsTaskVolumeDetails.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 onAwsEcsTaskVolumeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#volumes(java.util.Collection)
-
containers
AwsEcsTaskDetails.Builder containers(Collection<AwsEcsContainerDetails> 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
AwsEcsTaskDetails.Builder containers(AwsEcsContainerDetails... 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
AwsEcsTaskDetails.Builder containers(Consumer<AwsEcsContainerDetails.Builder>... containers)
The containers that are associated with the task.
This is a convenience method that creates an instance of theAwsEcsContainerDetails.Builderavoiding the need to create one manually viaAwsEcsContainerDetails.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 onAwsEcsContainerDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containers(java.util.Collection)
-
-