Interface EcsClusterDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EcsClusterDetails.Builder,
,EcsClusterDetails> SdkBuilder<EcsClusterDetails.Builder,
,EcsClusterDetails> SdkPojo
- Enclosing class:
EcsClusterDetails
-
Method Summary
Modifier and TypeMethodDescriptionactiveServicesCount
(Integer activeServicesCount) The number of services that are running on the cluster in an ACTIVE state.The Amazon Resource Name (ARN) that identifies the cluster.The name of the ECS Cluster.registeredContainerInstancesCount
(Integer registeredContainerInstancesCount) The number of container instances registered into the cluster.runningTasksCount
(Integer runningTasksCount) The number of tasks in the cluster that are in the RUNNING state.The status of the ECS cluster.tags
(Collection<Tag> tags) The tags of the ECS Cluster.tags
(Consumer<Tag.Builder>... tags) The tags of the ECS Cluster.The tags of the ECS Cluster.default EcsClusterDetails.Builder
taskDetails
(Consumer<EcsTaskDetails.Builder> taskDetails) Contains information about the details of the ECS Task.taskDetails
(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 Details
-
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
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
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
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
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
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
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
The tags of the ECS Cluster.
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:
-
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
Contains information about the details of the ECS Task.
This is a convenience method that creates an instance of theEcsTaskDetails.Builder
avoiding the need to create one manually viaEcsTaskDetails.builder()
.When the
Consumer
completes,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:
-