public ServiceFuture<OperationStatus> updateEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter, final ServiceCallback<OperationStatus> serviceCallback) {
        return ServiceFuture.fromResponse(updateEntityRoleWithServiceResponseAsync(appId, versionId, entityId, roleId, updateEntityRoleOptionalParameter), serviceCallback);
    }
public ServiceFuture < OperationStatus > updateEntityRoleAsync ( UUID appId , String versionId , UUID entityId , UUID roleId , UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter , final ServiceCallback < OperationStatus > serviceCallback ) { return ServiceFuture . fromResponse ( updateEntityRoleWithServiceResponseAsync ( appId , versionId , entityId , roleId , updateEntityRoleOptionalParameter ) , serviceCallback ) ; }
Update an entity role for a given entity.

@param appId The application ID.
@param versionId The version ID.
@param entityId The entity ID.
@param roleId The entity role ID.
@param updateEntityRoleOptionalParameter 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