public Tag createTag(UUID projectId, String name, CreateTagOptionalParameter createTagOptionalParameter) {
        return createTagWithServiceResponseAsync(projectId, name, createTagOptionalParameter).toBlocking().single().body();
    }
public Tag createTag ( UUID projectId , String name , CreateTagOptionalParameter createTagOptionalParameter ) { return createTagWithServiceResponseAsync ( projectId , name , createTagOptionalParameter ) . toBlocking ( ) . single ( ) . body ( ) ; }
Create a tag for the project.

@param projectId The project id
@param name The tag name
@param createTagOptionalParameter the object representing the optional parameters to be set before calling this API
@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 Tag object if successful.