Package com.ibm.cloud.is.vpc.v1.model
Class CreateInstanceConsoleAccessTokenOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateInstanceConsoleAccessTokenOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateInstanceConsoleAccessTokenOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createInstanceConsoleAccessToken options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateInstanceConsoleAccessTokenOptions.Builder
Builder.static interface
CreateInstanceConsoleAccessTokenOptions.ConsoleType
The instance console type for which this token may be used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
consoleType()
Gets the consoleType.Boolean
force()
Gets the force.String
instanceId()
Gets the instanceId.CreateInstanceConsoleAccessTokenOptions.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public CreateInstanceConsoleAccessTokenOptions.Builder newBuilder()
New builder.- Returns:
- a CreateInstanceConsoleAccessTokenOptions builder
-
instanceId
public String instanceId()
Gets the instanceId. The virtual server instance identifier.- Returns:
- the instanceId
-
consoleType
public String consoleType()
Gets the consoleType. The instance console type for which this token may be used.- Returns:
- the consoleType
-
force
public Boolean force()
Gets the force. Indicates whether to disconnect an existing serial console session as the serial console cannot be shared. This has no effect on VNC consoles.- Returns:
- the force
-
-