Class LookupRecordsRequest.Builder
- All Implemented Interfaces:
LookupRecordsRequest._FinalStage,LookupRecordsRequest.FieldStage,LookupRecordsRequest.TypeStage
- Enclosing class:
LookupRecordsRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The name of the lookup field to match on, as declared on the type's schema.from(LookupRecordsRequest other) Inclusive lower bound of a range lookup (requiresto; non-sensitive fields only).Inclusive lower bound of a range lookup (requiresto; non-sensitive fields only).includePayload(String includePayload) Set totrueto include each record's full payload, rehydrating any payloads stored externally (capped per page).includePayload(Optional<String> includePayload) Set totrueto include each record's full payload, rehydrating any payloads stored externally (capped per page).Maximum number of records to return per page.Maximum number of records to return per page.order(LookupRecordsRequestOrder order) Sort direction by the field's value:asc(ascending, the default) ordesc(descending).order(Optional<LookupRecordsRequestOrder> order) Sort direction by the field's value:asc(ascending, the default) ordesc(descending).Prefix to match (string, non-sensitive fields only).Prefix to match (string, non-sensitive fields only).Pagination cursor.Pagination cursor.Inclusive upper bound of a range lookup (requiresfrom).Inclusive upper bound of a range lookup (requiresfrom).The record type to look up, e.g.Exact value to match.Exact value to match.
-
Method Details
-
from
- Specified by:
fromin interfaceLookupRecordsRequest.TypeStage
-
type
The record type to look up, e.g.
intake_form.The record type to look up, e.g.
intake_form.- Specified by:
typein interfaceLookupRecordsRequest.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
field
The name of the lookup field to match on, as declared on the type's schema.
The name of the lookup field to match on, as declared on the type's schema.
- Specified by:
fieldin interfaceLookupRecordsRequest.FieldStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
order
Sort direction by the field's value:
asc(ascending, the default) ordesc(descending).- Specified by:
orderin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
order
Sort direction by the field's value:
asc(ascending, the default) ordesc(descending).- Specified by:
orderin interfaceLookupRecordsRequest._FinalStage
-
includePayload
Set to
trueto include each record's full payload, rehydrating any payloads stored externally (capped per page). Defaults tofalse, which returns only the indexed projection.- Specified by:
includePayloadin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
includePayload
Set to
trueto include each record's full payload, rehydrating any payloads stored externally (capped per page). Defaults tofalse, which returns only the indexed projection.- Specified by:
includePayloadin interfaceLookupRecordsRequest._FinalStage
-
limit
Maximum number of records to return per page. Allowed range 1–100; defaults to 20.
- Specified by:
limitin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
Maximum number of records to return per page. Allowed range 1–100; defaults to 20.
- Specified by:
limitin interfaceLookupRecordsRequest._FinalStage
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page; omit it for the first page.- Specified by:
startFromin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page; omit it for the first page.- Specified by:
startFromin interfaceLookupRecordsRequest._FinalStage
-
prefix
Prefix to match (string, non-sensitive fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
prefix
Prefix to match (string, non-sensitive fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceLookupRecordsRequest._FinalStage
-
to
Inclusive upper bound of a range lookup (requires
from).- Specified by:
toin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
to
Inclusive upper bound of a range lookup (requires
from).- Specified by:
toin interfaceLookupRecordsRequest._FinalStage
-
from
Inclusive lower bound of a range lookup (requires
to; non-sensitive fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceLookupRecordsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
from
Inclusive lower bound of a range lookup (requires
to; non-sensitive fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceLookupRecordsRequest._FinalStage
-
value
Exact value to match. Mutually exclusive with
from/toandprefix. Rejected for a sensitive field — usePOST /v1/records/lookupinstead so the value is not exposed in the URL.- Specified by:
valuein interfaceLookupRecordsRequest._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 — usePOST /v1/records/lookupinstead so the value is not exposed in the URL.- Specified by:
valuein interfaceLookupRecordsRequest._FinalStage
-
build
- Specified by:
buildin interfaceLookupRecordsRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceLookupRecordsRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceLookupRecordsRequest._FinalStage
-