code: public ServiceFuture<SharedAccessAuthorizationRuleResourceInner> createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String notificationHubName, String authorizationRuleName, SharedAccessAuthorizationRuleProperties properties, final ServiceCallback<SharedAccessAuthorizationRuleResourceInner> serviceCallback) {
          return ServiceFuture.fromResponse(createOrUpdateAuthorizationRuleWithServiceResponseAsync(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, properties), serviceCallback);
      }
docs: Creates/Updates an authorization rule for a NotificationHub.
  
  @param resourceGroupName The name of the resource group.
  @param namespaceName The namespace name.
  @param notificationHubName The notification hub name.
  @param authorizationRuleName Authorization Rule Name.
  @param properties Properties of the Namespace AuthorizationRules.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object