Package com.ibm.cloud.is.vpc.v1.model
Class BareMetalServerConsoleAccessToken
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BareMetalServerConsoleAccessToken.ConsoleType
The bare metal server console type for which this token may be used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessToken()
Gets the accessToken.String
getConsoleType()
Gets the consoleType.Date
getCreatedAt()
Gets the createdAt.Date
getExpiresAt()
Gets the expiresAt.String
getHref()
Gets the href.Boolean
isForce()
Gets the force.
-
-
-
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
-
-