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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scale.Builder
unit(String unit)
The unit of measure for the scale value.Scale.Builder
unit(ScaleUnit unit)
The unit of measure for the scale value.Scale.Builder
value(Double value)
The value, specified as a percent total of a service'sdesiredCount
, to scale the task set.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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'sdesiredCount
, 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.
-
unit
Scale.Builder unit(ScaleUnit unit)
The unit of measure for the scale value.
-
-