Class BareMetalServerConsoleAccessToken

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class BareMetalServerConsoleAccessToken
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The bare metal server console access token information.
    • Method Detail

      • 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 bare metal server 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 bare metal server console.
        Returns:
        the href