public final class Redaction extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Redaction.Builder
Collects the members of a new
Redaction. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Redaction> |
READER
Reads a JSON object as a
Redaction. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Redaction.Builder |
builder() |
static Redaction |
fromJson(Object json)
A
Redaction with the members of a JSON object, all kept. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
String |
getPolicyId()
The member
policyId. |
String |
getPolicyVersion()
The member
policyVersion. |
List<String> |
getPublishedDigestDomains()
The member
publishedDigestDomains. |
String |
getTokenDomain()
The member
tokenDomain. |
Redaction.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Redaction> READER
Redaction.public static Redaction fromJson(Object json)
Redaction with the members of a JSON object, all kept.public static Redaction.Builder builder()
public Redaction.Builder toBuilder()
public String getPolicyId()
policyId. Null when absent; throws IllegalStateException when the member
holds another JSON type.public String getPolicyVersion()
policyVersion. Null when absent; throws IllegalStateException when the
member holds another JSON type.public String getTokenDomain()
tokenDomain. The comparison domain of the keyed tokens the document
carries. Equal tokens from different domains do not denote the same value. Null when absent;
throws IllegalStateException when the member holds another JSON type.public List<String> getPublishedDigestDomains()
publishedDigestDomains. The digest domains the policy allows the document
to publish. Null when absent; throws IllegalStateException when the member holds another JSON
type.public Map<String,Extension> getExtensions()
extensions. Extension data keyed by namespace. Every core object may carry
it; it never takes part in a core identity. Null when absent; throws IllegalStateException
when the member holds another JSON type.