Package com.oracle.bmc.autoscaling.model
Class Action.Builder
- java.lang.Object
-
- com.oracle.bmc.autoscaling.model.Action.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
build()
Action.Builder
copy(Action model)
Action.Builder
type(Action.Type type)
The type of action to take.Action.Builder
value(Integer value)
To scale out (increase the number of instances), provide a positive value.
-
-
-
Method Detail
-
type
public Action.Builder type(Action.Type type)
The type of action to take.- Parameters:
type
- the value to set- Returns:
- this builder
-
value
public Action.Builder value(Integer value)
To scale out (increase the number of instances), provide a positive value.To scale in (decrease the number of instances), provide a negative value.
- Parameters:
value
- the value to set- Returns:
- this builder
-
build
public Action build()
-
copy
public Action.Builder copy(Action model)
-
-