Class InstanceConsoleAccessToken

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceConsoleAccessToken
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceConsoleAccessToken extends com.ibm.cloud.sdk.core.service.model.GenericModel
The instance console access token information.
  • Method Details

    • getAccessToken

      public String getAccessToken()
      Gets the accessToken. A URL safe single-use token used to access the console WebSocket.
      Returns:
      the accessToken
    • getConsoleType

      public String getConsoleType()
      Gets the consoleType. The instance console type for which this token may be used.
      Returns:
      the consoleType
    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that the access token was created.
      Returns:
      the createdAt
    • getExpiresAt

      public Date getExpiresAt()
      Gets the expiresAt. The date and time that the access token will expire.
      Returns:
      the expiresAt
    • isForce

      public Boolean isForce()
      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
    • getHref

      public String getHref()
      Gets the href. The URL to access this instance console.
      Returns:
      the href