code: public Observable<StreamingEndpointInner> updateAsync(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, accountName, streamingEndpointName, parameters).map(new Func1<ServiceResponse<StreamingEndpointInner>, StreamingEndpointInner>() {
              @Override
              public StreamingEndpointInner call(ServiceResponse<StreamingEndpointInner> response) {
                  return response.body();
              }
          });
      }
docs: Update StreamingEndpoint.
  Updates a existing StreamingEndpoint.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param streamingEndpointName The name of the StreamingEndpoint.
  @param parameters StreamingEndpoint properties needed for creation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request