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 name of the lookup field declared on the schema.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).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).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 name of the lookup field declared on the schema.
The name of the lookup field declared on the schema.
- Specified by:
fieldin interfaceLookupDocumentsRequest.FieldStage- 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- 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
-