Class AdmCredentialProperties


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

      • AdmCredentialProperties

        public AdmCredentialProperties()
    • Method Detail

      • clientId

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

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

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

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

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

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

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