Interface AwsEcsClusterDetails.Builder

    • Method Detail

      • clusterArn

        AwsEcsClusterDetails.Builder clusterArn​(String clusterArn)

        The Amazon Resource Name (ARN) that identifies the cluster.

        Parameters:
        clusterArn - The Amazon Resource Name (ARN) that identifies the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • activeServicesCount

        AwsEcsClusterDetails.Builder activeServicesCount​(Integer activeServicesCount)

        The number of services that are running on the cluster in an ACTIVE state. You can view these services with the Amazon ECS ListServices API operation.

        Parameters:
        activeServicesCount - The number of services that are running on the cluster in an ACTIVE state. You can view these services with the Amazon ECS ListServices API operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityProviders

        AwsEcsClusterDetails.Builder capacityProviders​(Collection<String> capacityProviders)

        The short name of one or more capacity providers to associate with the cluster.

        Parameters:
        capacityProviders - The short name of one or more capacity providers to associate with the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityProviders

        AwsEcsClusterDetails.Builder capacityProviders​(String... capacityProviders)

        The short name of one or more capacity providers to associate with the cluster.

        Parameters:
        capacityProviders - The short name of one or more capacity providers to associate with the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterSettings

        AwsEcsClusterDetails.Builder clusterSettings​(Collection<AwsEcsClusterClusterSettingsDetails> clusterSettings)

        The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.

        Parameters:
        clusterSettings - The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterSettings

        AwsEcsClusterDetails.Builder clusterSettings​(AwsEcsClusterClusterSettingsDetails... clusterSettings)

        The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.

        Parameters:
        clusterSettings - The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuration

        AwsEcsClusterDetails.Builder configuration​(AwsEcsClusterConfigurationDetails configuration)

        The run command configuration for the cluster.

        Parameters:
        configuration - The run command configuration for the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultCapacityProviderStrategy

        AwsEcsClusterDetails.Builder defaultCapacityProviderStrategy​(Collection<AwsEcsClusterDefaultCapacityProviderStrategyDetails> defaultCapacityProviderStrategy)

        The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.

        Parameters:
        defaultCapacityProviderStrategy - The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultCapacityProviderStrategy

        AwsEcsClusterDetails.Builder defaultCapacityProviderStrategy​(AwsEcsClusterDefaultCapacityProviderStrategyDetails... defaultCapacityProviderStrategy)

        The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.

        Parameters:
        defaultCapacityProviderStrategy - The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterName

        AwsEcsClusterDetails.Builder clusterName​(String clusterName)

        A name that you use to identify your cluster.

        Parameters:
        clusterName - A name that you use to identify your cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registeredContainerInstancesCount

        AwsEcsClusterDetails.Builder registeredContainerInstancesCount​(Integer registeredContainerInstancesCount)

        The number of container instances registered into the cluster. This includes container instances in both ACTIVE and DRAINING status.

        Parameters:
        registeredContainerInstancesCount - The number of container instances registered into the cluster. This includes container instances in both ACTIVE and DRAINING status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runningTasksCount

        AwsEcsClusterDetails.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.
      • status

        AwsEcsClusterDetails.Builder status​(String status)

        The status of the cluster.

        Parameters:
        status - The status of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.