code: public Observable<ServiceResponse<Void>> syncStorageKeysWithServiceResponseAsync(String resourceGroupName, String mediaServiceName, String id) {
          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 (mediaServiceName == null) {
              throw new IllegalArgumentException("Parameter mediaServiceName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          if (id == null) {
              throw new IllegalArgumentException("Parameter id is required and cannot be null.");
          }
          SyncStorageKeysInput parameters = new SyncStorageKeysInput();
          parameters.withId(id);
          return service.syncStorageKeys(this.client.subscriptionId(), resourceGroupName, mediaServiceName, this.client.apiVersion(), this.client.acceptLanguage(), parameters, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
                  @Override
                  public Observable<ServiceResponse<Void>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<Void> clientResponse = syncStorageKeysDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Synchronizes storage account keys for a storage account associated with the Media Service account.
  
  @param resourceGroupName Name of the resource group within the Azure subscription.
  @param mediaServiceName Name of the Media Service.
  @param id The id of the storage account resource.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceResponse} object if successful.