code: public Observable<ServiceResponse<FirewallRuleInner>> createOrUpdateFirewallRuleWithServiceResponseAsync(String resourceGroupName, String accountName, String name, FirewallRuleInner parameters) {
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (accountName == null) {
              throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
          }
          if (name == null) {
              throw new IllegalArgumentException("Parameter name is required and cannot be null.");
          }
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (parameters == null) {
              throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          Validator.validate(parameters);
          return service.createOrUpdateFirewallRule(resourceGroupName, accountName, name, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<FirewallRuleInner>>>() {
                  @Override
                  public Observable<ServiceResponse<FirewallRuleInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<FirewallRuleInner> clientResponse = createOrUpdateFirewallRuleDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Creates or updates the specified firewall rule.
  
  @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account.
  @param accountName The name of the Data Lake Store account to which to add the firewall rule.
  @param name The name of the firewall rule to create or update.
  @param parameters Parameters supplied to create the create firewall rule.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the FirewallRuleInner object