public List<EventTypeInner> listEventTypes(String topicTypeName) {
        return listEventTypesWithServiceResponseAsync(topicTypeName).toBlocking().single().body();
    }
public List < EventTypeInner > listEventTypes ( String topicTypeName ) { return listEventTypesWithServiceResponseAsync ( topicTypeName ) . toBlocking ( ) . single ( ) . body ( ) ; }
List event types.
List event types for a topic type.

@param topicTypeName Name of the topic type
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the List&lt;EventTypeInner&gt; object if successful.