Class PolicykeyResource


  • public final class PolicykeyResource
    extends Object
    Namespace/NotificationHub Regenerate Keys.
    • Constructor Detail

      • PolicykeyResource

        public PolicykeyResource()
    • Method Detail

      • policyKey

        public String policyKey()
        Get the policyKey property: Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.
        Returns:
        the policyKey value.
      • withPolicyKey

        public PolicykeyResource withPolicyKey​(String policyKey)
        Set the policyKey property: Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.
        Parameters:
        policyKey - the policyKey value to set.
        Returns:
        the PolicykeyResource object itself.
      • validate

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