Interface Scale.Builder

    • Method Detail

      • value

        Scale.Builder value​(Double value)

        The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

        Parameters:
        value - The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        Scale.Builder unit​(String unit)

        The unit of measure for the scale value.

        Parameters:
        unit - The unit of measure for the scale value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScaleUnit, ScaleUnit
      • unit

        Scale.Builder unit​(ScaleUnit unit)

        The unit of measure for the scale value.

        Parameters:
        unit - The unit of measure for the scale value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScaleUnit, ScaleUnit