Package com.ibm.cloud.is.vpc.v1.model
Class CreateInstanceActionOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateInstanceActionOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateInstanceActionOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createInstanceAction options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateInstanceActionOptions.Builder
Builder.static interface
CreateInstanceActionOptions.Type
The type of action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
force()
Gets the force.String
instanceId()
Gets the instanceId.CreateInstanceActionOptions.Builder
newBuilder()
New builder.String
type()
Gets the type.
-
-
-
Method Detail
-
newBuilder
public CreateInstanceActionOptions.Builder newBuilder()
New builder.- Returns:
- a CreateInstanceActionOptions builder
-
instanceId
public String instanceId()
Gets the instanceId. The virtual server instance identifier.- Returns:
- the instanceId
-
type
public String type()
Gets the type. The type of action.- Returns:
- the type
-
force
public Boolean force()
Gets the force. If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action.- Returns:
- the force
-
-