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.
  • Method Details

    • 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