code: public StreamingEndpointInner create(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, Boolean autoStart) {
          return createWithServiceResponseAsync(resourceGroupName, accountName, streamingEndpointName, parameters, autoStart).toBlocking().last().body();
      }
docs: Create StreamingEndpoint.
  Creates a 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.
  @param autoStart The flag indicates if the resource should be automatically started on creation.
  @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 StreamingEndpointInner object if successful.