Interface AwsEcsServiceCapacityProviderStrategyDetails.Builder

    • Method Detail

      • base

        AwsEcsServiceCapacityProviderStrategyDetails.Builder base​(Integer base)

        The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

        The value must be between 0 and 100000.

        Parameters:
        base - The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

        The value must be between 0 and 100000.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityProvider

        AwsEcsServiceCapacityProviderStrategyDetails.Builder capacityProvider​(String capacityProvider)

        The short name of the capacity provider.

        Parameters:
        capacityProvider - The short name of the capacity provider.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • weight

        AwsEcsServiceCapacityProviderStrategyDetails.Builder weight​(Integer weight)

        The relative percentage of the total number of tasks that should use the capacity provider.

        If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

        The value can be between 0 and 1000.

        Parameters:
        weight - The relative percentage of the total number of tasks that should use the capacity provider.

        If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

        The value can be between 0 and 1000.

        Returns:
        Returns a reference to this object so that method calls can be chained together.