Interface EcsClusterDetails.Builder

    • 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 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).

        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:
        #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.