Class AdmCredential


  • public final class AdmCredential
    extends Object
    Description of a NotificationHub AdmCredential.
    • Constructor Detail

      • AdmCredential

        public AdmCredential()
    • Method Detail

      • clientId

        public String clientId()
        Get the clientId property: The client identifier.
        Returns:
        the clientId value.
      • withClientId

        public AdmCredential withClientId​(String clientId)
        Set the clientId property: The client identifier.
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the AdmCredential object itself.
      • clientSecret

        public String clientSecret()
        Get the clientSecret property: The credential secret access key.
        Returns:
        the clientSecret value.
      • withClientSecret

        public AdmCredential withClientSecret​(String clientSecret)
        Set the clientSecret property: The credential secret access key.
        Parameters:
        clientSecret - the clientSecret value to set.
        Returns:
        the AdmCredential object itself.
      • authTokenUrl

        public String authTokenUrl()
        Get the authTokenUrl property: The URL of the authorization token.
        Returns:
        the authTokenUrl value.
      • withAuthTokenUrl

        public AdmCredential withAuthTokenUrl​(String authTokenUrl)
        Set the authTokenUrl property: The URL of the authorization token.
        Parameters:
        authTokenUrl - the authTokenUrl value to set.
        Returns:
        the AdmCredential object itself.
      • validate

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