code: public StreamingLocatorInner create(String resourceGroupName, String accountName, String streamingLocatorName, StreamingLocatorInner parameters) {
          return createWithServiceResponseAsync(resourceGroupName, accountName, streamingLocatorName, parameters).toBlocking().single().body();
      }
docs: Create a Streaming Locator.
  Create a Streaming Locator in the Media Services account.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param streamingLocatorName The Streaming Locator name.
  @param parameters The request parameters
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ApiErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the StreamingLocatorInner object if successful.