Class LookupDocumentsRequest.Builder
- All Implemented Interfaces:
LookupDocumentsRequest._FinalStage,LookupDocumentsRequest.FieldStage,LookupDocumentsRequest.TypeStage
- Enclosing class:
LookupDocumentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The field to look up by.from(LookupDocumentsRequest other) Inclusive lower bound for a range lookup (requiresto; range-enabled, non-sensitive fields only).Inclusive lower bound for a range lookup (requiresto; range-enabled, non-sensitive 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(LookupDocumentsRequestOrder order) Sort direction for the returned documents:asc(the default) ordesc.order(Optional<LookupDocumentsRequestOrder> order) Sort direction for the returned documents:asc(the 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, as a singlenamespace:valueentry — mirrorsGET /v1/schemas?Root API key ONLY: resolvetype's schema as this scope would, as a singlenamespace:valueentry — mirrorsGET /v1/schemas?Pagination cursor — pass thenextCursorreturned by the previous page.Pagination cursor — pass thenextCursorreturned by the previous page.Inclusive upper bound for a range lookup (requiresfrom).Inclusive upper bound for a range lookup (requiresfrom).The document type to look up (thetypeof 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.Exact value to match.
-
Method Details
-
from
- Specified by:
fromin interfaceLookupDocumentsRequest.TypeStage
-
type
The document type to look up (the
typeof the bound schema).The document type to look up (the
typeof the bound schema).- Specified by:
typein interfaceLookupDocumentsRequest.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, or the name of any lookup field declared on the bound schema.The field to look up by. Use
externalIdto look up by the document's external identifier, or the name of any lookup field declared on the bound schema.- Specified by:
fieldin interfaceLookupDocumentsRequest.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, as a singlenamespace:valueentry — mirrorsGET /v1/schemas?recordType='sscopeselector. Ignored for a scoped credential.- Specified by:
scopein interfaceLookupDocumentsRequest._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, as a singlenamespace:valueentry — mirrorsGET /v1/schemas?recordType='sscopeselector. Ignored for a scoped credential.- Specified by:
scopein interfaceLookupDocumentsRequest._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.- Specified by:
userIdin interfaceLookupDocumentsRequest._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.- Specified by:
userIdin interfaceLookupDocumentsRequest._FinalStage
-
order
Sort direction for the returned documents:
asc(the default) ordesc.- Specified by:
orderin interfaceLookupDocumentsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
order
Sort direction for the returned documents:
asc(the default) ordesc.- Specified by:
orderin interfaceLookupDocumentsRequest._FinalStage
-
limit
Maximum number of documents to return per page (1-100; defaults to 20).
- Specified by:
limitin interfaceLookupDocumentsRequest._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 interfaceLookupDocumentsRequest._FinalStage
-
startFrom
Pagination cursor — pass the
nextCursorreturned by the previous page.- Specified by:
startFromin interfaceLookupDocumentsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startFrom
Pagination cursor — pass the
nextCursorreturned by the previous page.- Specified by:
startFromin interfaceLookupDocumentsRequest._FinalStage
-
prefix
Prefix to match for a prefix lookup (range-enabled string fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceLookupDocumentsRequest._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 interfaceLookupDocumentsRequest._FinalStage
-
to
Inclusive upper bound for a range lookup (requires
from).- Specified by:
toin interfaceLookupDocumentsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
to
Inclusive upper bound for a range lookup (requires
from).- Specified by:
toin interfaceLookupDocumentsRequest._FinalStage
-
from
Inclusive lower bound for a range lookup (requires
to; range-enabled, non-sensitive fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceLookupDocumentsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
from
Inclusive lower bound for a range lookup (requires
to; range-enabled, non-sensitive fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceLookupDocumentsRequest._FinalStage
-
value
Exact value to match. Mutually exclusive with
from/toandprefix. Rejected for a sensitive field — use POST /v1/documents/lookup so the value isn't exposed in the URL.- Specified by:
valuein interfaceLookupDocumentsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
Exact value to match. Mutually exclusive with
from/toandprefix. Rejected for a sensitive field — use POST /v1/documents/lookup so the value isn't exposed in the URL.- Specified by:
valuein interfaceLookupDocumentsRequest._FinalStage
-
build
- Specified by:
buildin interfaceLookupDocumentsRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceLookupDocumentsRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceLookupDocumentsRequest._FinalStage
-