Interface EcsClusterDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EcsClusterDetails.Builder,EcsClusterDetails>,SdkBuilder<EcsClusterDetails.Builder,EcsClusterDetails>,SdkPojo
- Enclosing class:
- EcsClusterDetails
public static interface EcsClusterDetails.Builder extends SdkPojo, CopyableBuilder<EcsClusterDetails.Builder,EcsClusterDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EcsClusterDetails.BuilderactiveServicesCount(Integer activeServicesCount)The number of services that are running on the cluster in an ACTIVE state.EcsClusterDetails.Builderarn(String arn)The Amazon Resource Name (ARN) that identifies the cluster.EcsClusterDetails.Buildername(String name)The name of the ECS Cluster.EcsClusterDetails.BuilderregisteredContainerInstancesCount(Integer registeredContainerInstancesCount)The number of container instances registered into the cluster.EcsClusterDetails.BuilderrunningTasksCount(Integer runningTasksCount)The number of tasks in the cluster that are in the RUNNING state.EcsClusterDetails.Builderstatus(String status)The status of the ECS cluster.EcsClusterDetails.Buildertags(Collection<Tag> tags)The tags of the ECS Cluster.EcsClusterDetails.Buildertags(Consumer<Tag.Builder>... tags)The tags of the ECS Cluster.EcsClusterDetails.Buildertags(Tag... tags)The tags of the ECS Cluster.default EcsClusterDetails.BuildertaskDetails(Consumer<EcsTaskDetails.Builder> taskDetails)Contains information about the details of the ECS Task.EcsClusterDetails.BuildertaskDetails(EcsTaskDetails taskDetails)Contains information about the details of the ECS 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
-
name
EcsClusterDetails.Builder name(String name)
The name of the ECS Cluster.
- Parameters:
name- The name of the ECS Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
EcsClusterDetails.Builder arn(String arn)
The Amazon Resource Name (ARN) that identifies the cluster.
- Parameters:
arn- The Amazon Resource Name (ARN) that identifies the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
EcsClusterDetails.Builder status(String status)
The status of the ECS cluster.
- Parameters:
status- The status of the ECS cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeServicesCount
EcsClusterDetails.Builder activeServicesCount(Integer activeServicesCount)
The number of services that are running on the cluster in an ACTIVE state.
- Parameters:
activeServicesCount- The number of services that are running on the cluster in an ACTIVE state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registeredContainerInstancesCount
EcsClusterDetails.Builder registeredContainerInstancesCount(Integer registeredContainerInstancesCount)
The number of container instances registered into the cluster.
- Parameters:
registeredContainerInstancesCount- The number of container instances registered into the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runningTasksCount
EcsClusterDetails.Builder runningTasksCount(Integer runningTasksCount)
The number of tasks in the cluster that are in the RUNNING state.
- Parameters:
runningTasksCount- The number of tasks in the cluster that are in the RUNNING state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EcsClusterDetails.Builder tags(Collection<Tag> tags)
The tags of the ECS Cluster.
- Parameters:
tags- The tags of the ECS Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EcsClusterDetails.Builder tags(Tag... tags)
The tags of the ECS Cluster.
- Parameters:
tags- The tags of the ECS Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
EcsClusterDetails.Builder tags(Consumer<Tag.Builder>... tags)
The tags of the ECS Cluster.
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)
-
taskDetails
EcsClusterDetails.Builder taskDetails(EcsTaskDetails taskDetails)
Contains information about the details of the ECS Task.
- Parameters:
taskDetails- Contains information about the details of the ECS Task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDetails
default EcsClusterDetails.Builder taskDetails(Consumer<EcsTaskDetails.Builder> taskDetails)
Contains information about the details of the ECS Task.
This is a convenience method that creates an instance of theEcsTaskDetails.Builderavoiding the need to create one manually viaEcsTaskDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskDetails(EcsTaskDetails).- Parameters:
taskDetails- a consumer that will call methods onEcsTaskDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taskDetails(EcsTaskDetails)
-
-