code: public ServiceFuture<UUID> createCustomPrebuiltEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter, final ServiceCallback<UUID> serviceCallback) {
          return ServiceFuture.fromResponse(createCustomPrebuiltEntityRoleWithServiceResponseAsync(appId, versionId, entityId, createCustomPrebuiltEntityRoleOptionalParameter), serviceCallback);
      }
docs: 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 createCustomPrebuiltEntityRoleOptionalParameter 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