Interface Scale.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Scale.Builder,Scale>, SdkBuilder<Scale.Builder,Scale>, SdkPojo
Enclosing class:
Scale

public static interface Scale.Builder extends SdkPojo, CopyableBuilder<Scale.Builder,Scale>
  • Method Details

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