Class ErasureRequest.Builder
- All Implemented Interfaces:
ErasureRequest._FinalStage,ErasureRequest.SubjectTypeStage
- Enclosing class:
ErasureRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) auditDisposition(ErasureRequestAuditDisposition auditDisposition) How to handle the subject's audit and version-history trail.auditDisposition(Optional<ErasureRequestAuditDisposition> auditDisposition) How to handle the subject's audit and version-history trail.build()contextScope(List<String> contextScope) The contexts in which to erase the subject.contextScope(Optional<List<String>> contextScope) The contexts in which to erase the subject.externalId(String externalId) Your own externalId for the subject, as an alternative tosubjectId.externalId(Optional<String> externalId) Your own externalId for the subject, as an alternative tosubjectId.from(ErasureRequest other) The platform id of the subject to erase (the Vectros-assigned id returned when the subject was created).The platform id of the subject to erase (the Vectros-assigned id returned when the subject was created).subjectType(@NotNull String subjectType) The kind of end-subject to erase:userfor a person, or an ownership namespace such asorgorclient— including a custom namespace you have defined.
-
Method Details
-
from
- Specified by:
fromin interfaceErasureRequest.SubjectTypeStage
-
subjectType
The kind of end-subject to erase:
userfor a person, or an ownership namespace such asorgorclient— including a custom namespace you have defined.The kind of end-subject to erase:
userfor a person, or an ownership namespace such asorgorclient— including a custom namespace you have defined.- Specified by:
subjectTypein interfaceErasureRequest.SubjectTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
auditDisposition
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).- Specified by:
auditDispositionin interfaceErasureRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
auditDisposition
public ErasureRequest._FinalStage auditDisposition(Optional<ErasureRequestAuditDisposition> auditDisposition) 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).- Specified by:
auditDispositionin interfaceErasureRequest._FinalStage
-
contextScope
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.
- Specified by:
contextScopein interfaceErasureRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextScope
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.
- Specified by:
contextScopein interfaceErasureRequest._FinalStage
-
externalId
Your own externalId for the subject, as an alternative to
subjectId. Provide exactly one ofsubjectIdorexternalId.- Specified by:
externalIdin interfaceErasureRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
Your own externalId for the subject, as an alternative to
subjectId. Provide exactly one ofsubjectIdorexternalId.- Specified by:
externalIdin interfaceErasureRequest._FinalStage
-
subjectId
The platform id of the subject to erase (the Vectros-assigned id returned when the subject was created). Provide exactly one of
subjectIdorexternalId.- Specified by:
subjectIdin interfaceErasureRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
subjectId
The platform id of the subject to erase (the Vectros-assigned id returned when the subject was created). Provide exactly one of
subjectIdorexternalId.- Specified by:
subjectIdin interfaceErasureRequest._FinalStage
-
build
- Specified by:
buildin interfaceErasureRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceErasureRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceErasureRequest._FinalStage
-