Class ErasureRequestResponse.Builder
- Enclosing class:
ErasureRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()certificate(ErasureCertificate certificate) certificate(Optional<ErasureCertificate> certificate) completedAt(String completedAt) completedAt(Optional<String> completedAt) When the erasure finished, as an ISO-8601 UTC timestamp.When the request was accepted, as an ISO-8601 UTC timestamp.failureReason(String failureReason) failureReason(Optional<String> failureReason) Reason the erasure failed, suitable for display or programmatic handling so you do not have to inspect logs.from(ErasureRequestResponse other) Opaque identifier for the erasure request.status(ErasureRequestResponseStatus status) status(Optional<ErasureRequestResponseStatus> status) Current status of the job.The resolved platform id of the erased subject, echoed back once it has been resolved.subjectType(String subjectType) subjectType(Optional<String> subjectType) The kind of subject that was erased (user, or an ownership namespace such asorgorclient), echoed back from your request.
-
Method Details
-
from
-
requestId
Opaque identifier for the erasure request. Pass this to
GET /v1/erasure-requests/{id}to poll for status and, once complete, the certificate. -
requestId
-
status
Current status of the job.
acceptedimmediately after submission, thenprocessingwhile the erasure runs, then eithercompleted(the certificate is populated) orfailed(seefailureReason). -
status
-
subjectType
The kind of subject that was erased (
user, or an ownership namespace such asorgorclient), echoed back from your request. -
subjectType
-
subjectId
The resolved platform id of the erased subject, echoed back once it has been resolved.
-
subjectId
-
createdAt
When the request was accepted, as an ISO-8601 UTC timestamp.
-
createdAt
-
completedAt
When the erasure finished, as an ISO-8601 UTC timestamp. Null until
statusiscompleted. -
completedAt
-
failureReason
Reason the erasure failed, suitable for display or programmatic handling so you do not have to inspect logs. Present only when
statusisfailed; null otherwise. -
failureReason
-
certificate
-
certificate
-
build
-
additionalProperty
-
additionalProperties
-