Class EndpointAuthTokenInner


  • public final class EndpointAuthTokenInner
    extends Object
    Service Token.
    • Constructor Detail

      • EndpointAuthTokenInner

        public EndpointAuthTokenInner()
    • Method Detail

      • accessToken

        public String accessToken()
        Get the accessToken property: Access token for endpoint authentication.
        Returns:
        the accessToken value.
      • withAccessToken

        public EndpointAuthTokenInner withAccessToken​(String accessToken)
        Set the accessToken property: Access token for endpoint authentication.
        Parameters:
        accessToken - the accessToken value to set.
        Returns:
        the EndpointAuthTokenInner object itself.
      • expiryTimeUtc

        public Long expiryTimeUtc()
        Get the expiryTimeUtc property: Access token expiry time (UTC).
        Returns:
        the expiryTimeUtc value.
      • withExpiryTimeUtc

        public EndpointAuthTokenInner withExpiryTimeUtc​(Long expiryTimeUtc)
        Set the expiryTimeUtc property: Access token expiry time (UTC).
        Parameters:
        expiryTimeUtc - the expiryTimeUtc value to set.
        Returns:
        the EndpointAuthTokenInner object itself.
      • refreshAfterTimeUtc

        public Long refreshAfterTimeUtc()
        Get the refreshAfterTimeUtc property: Refresh access token after time (UTC).
        Returns:
        the refreshAfterTimeUtc value.
      • withRefreshAfterTimeUtc

        public EndpointAuthTokenInner withRefreshAfterTimeUtc​(Long refreshAfterTimeUtc)
        Set the refreshAfterTimeUtc property: Refresh access token after time (UTC).
        Parameters:
        refreshAfterTimeUtc - the refreshAfterTimeUtc value to set.
        Returns:
        the EndpointAuthTokenInner object itself.
      • tokenType

        public String tokenType()
        Get the tokenType property: Access token type.
        Returns:
        the tokenType value.
      • withTokenType

        public EndpointAuthTokenInner withTokenType​(String tokenType)
        Set the tokenType property: Access token type.
        Parameters:
        tokenType - the tokenType value to set.
        Returns:
        the EndpointAuthTokenInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.