public LiveEventInner update(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) {
        return updateWithServiceResponseAsync(resourceGroupName, accountName, liveEventName, parameters).toBlocking().last().body();
    }
public LiveEventInner update ( String resourceGroupName , String accountName , String liveEventName , LiveEventInner parameters ) { return updateWithServiceResponseAsync ( resourceGroupName , accountName , liveEventName , parameters ) . toBlocking ( ) . last ( ) . body ( ) ; }
Updates a existing Live Event.

@param resourceGroupName The name of the resource group within the Azure subscription.
@param accountName The Media Services account name.
@param liveEventName The name of the Live Event.
@param parameters Live Event properties needed for 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 LiveEventInner object if successful.