Class ErasureRequest
java.lang.Object
ai.vectros.resources.compliance.requests.ErasureRequest
-
Method Details
-
getSubjectType
- Returns:
- The kind of end-subject to erase:
user,client, ororg.
-
getSubjectId
- Returns:
- The platform id of the subject to erase (the userId, clientId, or orgId returned when the subject was created). Provide exactly one of
subjectIdorexternalId.
-
getExternalId
- Returns:
- Your own externalId for the subject, as an alternative to
subjectId. Provide exactly one ofsubjectIdorexternalId.
-
getContextScope
- Returns:
- The contexts in which to erase the subject. As the data controller, you declare the blast radius: each listed context is erased independently and reported separately on the certificate. Omit or leave empty to erase every context the subject has data in; those contexts are then enumerated and erased one at a time, never as a single account-wide sweep. Any context you do not list is left untouched, and managing that residual data is your responsibility.
-
getAuditDisposition
- Returns:
- How to handle the subject's audit and version-history trail. This governs only the audit data — the subject's records and documents are always erased regardless.
retain-redacted(the default) keeps the compliance audit trail with sensitive data redacted;purgeadditionally hard-removes the audit history itself (subject to your legal obligations).
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-