public ServiceFuture<UUID> createRegexEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter, final ServiceCallback<UUID> serviceCallback) {
        return ServiceFuture.fromResponse(createRegexEntityRoleWithServiceResponseAsync(appId, versionId, entityId, createRegexEntityRoleOptionalParameter), serviceCallback);
    }
public ServiceFuture < UUID > createRegexEntityRoleAsync ( UUID appId , String versionId , UUID entityId , CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter , final ServiceCallback < UUID > serviceCallback ) { return ServiceFuture . fromResponse ( createRegexEntityRoleWithServiceResponseAsync ( appId , versionId , entityId , createRegexEntityRoleOptionalParameter ) , serviceCallback ) ; }
Create an entity role for an entity in the application.

@param appId The application ID.
@param versionId The version ID.
@param entityId The entity model ID.
@param createRegexEntityRoleOptionalParameter the object representing the optional parameters to be set before calling this API
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object