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 ClassesModifier and TypeClassDescriptionstatic class
Builder.static interface
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
Modifier and TypeMethodDescriptionGets the bareMetalServerId.Gets the consoleType.force()
Gets the force.New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateBareMetalServerConsoleAccessTokenOptions builder
-
bareMetalServerId
Gets the bareMetalServerId. The bare metal server identifier.- Returns:
- the bareMetalServerId
-
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
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
-