public Observable<UUID> createCompositeEntityRoleAsync(UUID appId, String versionId, UUID cEntityId, CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter) {
        return createCompositeEntityRoleWithServiceResponseAsync(appId, versionId, cEntityId, createCompositeEntityRoleOptionalParameter).map(new Func1<ServiceResponse<UUID>, UUID>() {
            @Override
            public UUID call(ServiceResponse<UUID> response) {
                return response.body();
            }
        });
    }
public Observable < UUID > createCompositeEntityRoleAsync ( UUID appId , String versionId , UUID cEntityId , CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter ) { return createCompositeEntityRoleWithServiceResponseAsync ( appId , versionId , cEntityId , createCompositeEntityRoleOptionalParameter ) . map ( new Func1 < ServiceResponse < UUID > , UUID > ( ) { @ Override public UUID call ( ServiceResponse < UUID > response ) { return response . body ( ) ; } } ) ; }
Create an entity role for an entity in the application.

@param appId The application ID.
@param versionId The version ID.
@param cEntityId The composite entity extractor ID.
@param createCompositeEntityRoleOptionalParameter the object representing the optional parameters to be set before calling this API
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the UUID object