Package com.ibm.cloud.is.vpc.v1.model
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceConsoleAccessToken.ConsoleType
The instance 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 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
-
-