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.GenericModelThe instance console access token information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceConsoleAccessToken.ConsoleTypeThe instance console type for which this token may be used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessToken()Gets the accessToken.StringgetConsoleType()Gets the consoleType.DategetCreatedAt()Gets the createdAt.DategetExpiresAt()Gets the expiresAt.StringgetHref()Gets the href.BooleanisForce()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
-
-