Package com.ibm.cloud.is.vpc.v1.model
Class CreateBareMetalServerConsoleAccessTokenOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateBareMetalServerConsoleAccessTokenOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateBareMetalServerConsoleAccessTokenOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createBareMetalServerConsoleAccessToken options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateBareMetalServerConsoleAccessTokenOptions.Builder
Builder.static interface
CreateBareMetalServerConsoleAccessTokenOptions.ConsoleType
The bare metal server console type for which this token may be used Must be `serial` for bare metal servers with a `cpu.architecture` of `s390x`.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bareMetalServerId()
Gets the bareMetalServerId.String
consoleType()
Gets the consoleType.Boolean
force()
Gets the force.CreateBareMetalServerConsoleAccessTokenOptions.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public CreateBareMetalServerConsoleAccessTokenOptions.Builder newBuilder()
New builder.- Returns:
- a CreateBareMetalServerConsoleAccessTokenOptions builder
-
bareMetalServerId
public String bareMetalServerId()
Gets the bareMetalServerId. The bare metal server identifier.- Returns:
- the bareMetalServerId
-
consoleType
public String consoleType()
Gets the consoleType. The bare metal server console type for which this token may be used Must be `serial` for bare metal servers with a `cpu.architecture` of `s390x`.- 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
-
-