Class VpcTokenResponse

  • All Implemented Interfaces:
    TokenServerResponse

    public class VpcTokenResponse
    extends java.lang.Object
    implements TokenServerResponse
    This class models the response received from the VPC "create_access_token" and "create_iam_token" operations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAccessToken()
      Gets the accessToken.
      java.util.Date getCreatedAt()
      Gets the createdAt.
      java.util.Date getExpiresAt()
      Gets the expiresAt.
      java.lang.Long getExpiresIn()
      Gets the expiresIn.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VpcTokenResponse

        public VpcTokenResponse()
    • Method Detail

      • getAccessToken

        public java.lang.String getAccessToken()
        Gets the accessToken. The access token.
        Returns:
        the accessToken
      • getCreatedAt

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

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

        public java.lang.Long getExpiresIn()
        Gets the expiresIn. Time in seconds before the access token expires.
        Returns:
        the expiresIn