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 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

      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

      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 the Tag.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<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the EcsTaskDetails.Builder avoiding the need to create one manually via EcsTaskDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskDetails(EcsTaskDetails).

      Parameters:
      taskDetails - a consumer that will call methods on EcsTaskDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: