Package com.oracle.bmc.cloudbridge.model
Class InstanceState.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.InstanceState.Builder
-
- Enclosing class:
- InstanceState
public static class InstanceState.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceStatebuild()InstanceState.Buildercode(Integer code)The state of the instance as a 16-bit unsigned integer.InstanceState.Buildercopy(InstanceState model)InstanceState.Buildername(String name)The current state of the instance.
-
-
-
Method Detail
-
code
public InstanceState.Builder code(Integer code)
The state of the instance as a 16-bit unsigned integer.- Parameters:
code- the value to set- Returns:
- this builder
-
name
public InstanceState.Builder name(String name)
The current state of the instance.- Parameters:
name- the value to set- Returns:
- this builder
-
build
public InstanceState build()
-
copy
public InstanceState.Builder copy(InstanceState model)
-
-