code: public Observable<ServiceResponse<Void>> stopWithServiceResponseAsync(String resourceGroupName, String accountName, String liveEventName) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          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 (liveEventName == null) {
              throw new IllegalArgumentException("Parameter liveEventName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          final Boolean removeOutputsOnStop = null;
          LiveEventActionInput parameters = new LiveEventActionInput();
          parameters.withRemoveOutputsOnStop(null);
          Observable<Response<ResponseBody>> observable = service.stop(this.client.subscriptionId(), resourceGroupName, accountName, liveEventName, this.client.apiVersion(), this.client.acceptLanguage(), parameters, this.client.userAgent());
          return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
      }
docs: Stop Live Event.
  Stops an existing Live Event.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param liveEventName The name of the Live Event.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request