Class DocumentLookupRequest.Builder
- All Implemented Interfaces:
DocumentLookupRequest._FinalStage,DocumentLookupRequest.FieldStage,DocumentLookupRequest.TypeStage
- Enclosing class:
DocumentLookupRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The field to look up by.from(DocumentLookupRequest other) Inclusive lower bound for a range lookup (requiresto; non-sensitive, range-enabled fields only).Inclusive lower bound for a range lookup (requiresto; non-sensitive, range-enabled fields only).Maximum number of documents to return per page (1–100; defaults to 20).Maximum number of documents to return per page (1–100; defaults to 20).order(DocumentLookupRequestOrder order) Sort direction for the returned results:asc(default) ordesc.order(Optional<DocumentLookupRequestOrder> order) Sort direction for the returned results:asc(default) ordesc.Prefix to match for a prefix lookup (range-enabled string fields only).Prefix to match for a prefix lookup (range-enabled string fields only).Root API key ONLY: resolvetype's schema as this scope would (basedOn-aware shadowing), as a singlenamespace:valueentry — mirrorsGET /v1/schemas?Root API key ONLY: resolvetype's schema as this scope would (basedOn-aware shadowing), as a singlenamespace:valueentry — mirrorsGET /v1/schemas?Pagination cursor.Pagination cursor.Inclusive upper bound for a range lookup (requiresfrom; mutually exclusive withvalueandprefix).Inclusive upper bound for a range lookup (requiresfrom; mutually exclusive withvalueandprefix).Document type to look up (the type defined by the bound schema).Root API key ONLY: resolvetype's schema as this user would (basedOn-aware shadowing) instead of the shared base — mirrorsGET /v1/schemas?Root API key ONLY: resolvetype's schema as this user would (basedOn-aware shadowing) instead of the shared base — mirrorsGET /v1/schemas?Exact value to match (equality mode).Exact value to match (equality mode).
-
Method Details
-
from
- Specified by:
fromin interfaceDocumentLookupRequest.TypeStage
-
type
Document type to look up (the type defined by the bound schema).
Document type to look up (the type defined by the bound schema).
- Specified by:
typein interfaceDocumentLookupRequest.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
field
The field to look up by. Use
externalIdto look up by the document's external identifier (no schema declaration required), or the name of any lookup field declared on the bound schema. For a sensitive field, this body variant is required (the GET variant rejects sensitive-field lookups).The field to look up by. Use
externalIdto look up by the document's external identifier (no schema declaration required), or the name of any lookup field declared on the bound schema. For a sensitive field, this body variant is required (the GET variant rejects sensitive-field lookups).- Specified by:
fieldin interfaceDocumentLookupRequest.FieldStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scope
Root API key ONLY: resolve
type's schema as this scope would (basedOn-aware shadowing), as a singlenamespace:valueentry — mirrorsGET /v1/schemas?recordType='sscopeselector. Ignored for a scoped credential.- Specified by:
scopein interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scope
Root API key ONLY: resolve
type's schema as this scope would (basedOn-aware shadowing), as a singlenamespace:valueentry — mirrorsGET /v1/schemas?recordType='sscopeselector. Ignored for a scoped credential.- Specified by:
scopein interfaceDocumentLookupRequest._FinalStage
-
userId
Root API key ONLY: resolve
type's schema as this user would (basedOn-aware shadowing) instead of the shared base — mirrorsGET /v1/schemas?recordType='suserIdselector. Ignored for a scoped credential, which always resolves via its own token identity.- Specified by:
userIdin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
Root API key ONLY: resolve
type's schema as this user would (basedOn-aware shadowing) instead of the shared base — mirrorsGET /v1/schemas?recordType='suserIdselector. Ignored for a scoped credential, which always resolves via its own token identity.- Specified by:
userIdin interfaceDocumentLookupRequest._FinalStage
-
order
Sort direction for the returned results:
asc(default) ordesc.- Specified by:
orderin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
order
Sort direction for the returned results:
asc(default) ordesc.- Specified by:
orderin interfaceDocumentLookupRequest._FinalStage
-
limit
Maximum number of documents to return per page (1–100; defaults to 20).
- Specified by:
limitin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
Maximum number of documents to return per page (1–100; defaults to 20).
- Specified by:
limitin interfaceDocumentLookupRequest._FinalStage
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page.- Specified by:
startFromin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page.- Specified by:
startFromin interfaceDocumentLookupRequest._FinalStage
-
prefix
Prefix to match for a prefix lookup (range-enabled string fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
prefix
Prefix to match for a prefix lookup (range-enabled string fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceDocumentLookupRequest._FinalStage
-
to
Inclusive upper bound for a range lookup (requires
from; mutually exclusive withvalueandprefix).- Specified by:
toin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
to
Inclusive upper bound for a range lookup (requires
from; mutually exclusive withvalueandprefix).- Specified by:
toin interfaceDocumentLookupRequest._FinalStage
-
from
Inclusive lower bound for a range lookup (requires
to; non-sensitive, range-enabled fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
from
Inclusive lower bound for a range lookup (requires
to; non-sensitive, range-enabled fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceDocumentLookupRequest._FinalStage
-
value
Exact value to match (equality mode). Mutually exclusive with
from/toandprefix.- Specified by:
valuein interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
Exact value to match (equality mode). Mutually exclusive with
from/toandprefix.- Specified by:
valuein interfaceDocumentLookupRequest._FinalStage
-
build
- Specified by:
buildin interfaceDocumentLookupRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceDocumentLookupRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceDocumentLookupRequest._FinalStage
-