code: public Observable<AssetFilterInner> createOrUpdateAsync(String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, accountName, assetName, filterName, parameters).map(new Func1<ServiceResponse<AssetFilterInner>, AssetFilterInner>() {
              @Override
              public AssetFilterInner call(ServiceResponse<AssetFilterInner> response) {
                  return response.body();
              }
          });
      }
docs: Create or update an Asset Filter.
  Creates or updates an Asset Filter associated with the specified Asset.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param assetName The Asset name.
  @param filterName The Asset Filter name
  @param parameters The request parameters
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the AssetFilterInner object