Class RecordLookupRequest.Builder
- All Implemented Interfaces:
RecordLookupRequest._FinalStage,RecordLookupRequest.FieldStage,RecordLookupRequest.TypeStage
- Enclosing class:
RecordLookupRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Name of the lookup field declared on the schema.from(RecordLookupRequest other) Inclusive lower bound for a range lookup (requiresto; non-sensitive fields only).Inclusive lower bound for a range lookup (requiresto; non-sensitive fields only).includePayload(Boolean includePayload) When true, externalized record payloads are returned in full in this response (capped per page).includePayload(Optional<Boolean> includePayload) When true, externalized record payloads are returned in full in this response (capped per page).Maximum number of records to return per page (1–100; defaults to 20).Maximum number of records to return per page (1–100; defaults to 20).order(RecordLookupRequestOrder order) Sort direction for the returned results:asc(default) ordesc.order(Optional<RecordLookupRequestOrder> order) Sort direction for the returned results:asc(default) ordesc.Prefix to match (string, non-sensitive fields only).Prefix to match (string, non-sensitive 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 record type to look up (for example,intake_form).Exact value to match.Exact value to match.
-
Method Details
-
from
- Specified by:
fromin interfaceRecordLookupRequest.TypeStage
-
type
The record type to look up (for example,
intake_form).The record type to look up (for example,
intake_form).- Specified by:
typein interfaceRecordLookupRequest.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
field
Name of the lookup field declared on the schema. For a field marked sensitive, this body variant is required (the GET variant rejects looking up by a sensitive value).
Name of the lookup field declared on the schema. For a field marked sensitive, this body variant is required (the GET variant rejects looking up by a sensitive value).
- Specified by:
fieldin interfaceRecordLookupRequest.FieldStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
includePayload
When true, externalized record payloads are returned in full in this response (capped per page). Defaults to false, which returns only the indexed projection.
- Specified by:
includePayloadin interfaceRecordLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
includePayload
When true, externalized record payloads are returned in full in this response (capped per page). Defaults to false, which returns only the indexed projection.
- Specified by:
includePayloadin interfaceRecordLookupRequest._FinalStage
-
order
Sort direction for the returned results:
asc(default) ordesc.- Specified by:
orderin interfaceRecordLookupRequest._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 interfaceRecordLookupRequest._FinalStage
-
limit
Maximum number of records to return per page (1–100; defaults to 20).
- Specified by:
limitin interfaceRecordLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
Maximum number of records to return per page (1–100; defaults to 20).
- Specified by:
limitin interfaceRecordLookupRequest._FinalStage
-
startFrom
Pagination cursor — pass the
nextCursorreturned by the previous page.- Specified by:
startFromin interfaceRecordLookupRequest._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 interfaceRecordLookupRequest._FinalStage
-
prefix
Prefix to match (string, non-sensitive fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceRecordLookupRequest._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 interfaceRecordLookupRequest._FinalStage
-
to
Inclusive upper bound for a range lookup (requires
from).- Specified by:
toin interfaceRecordLookupRequest._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 interfaceRecordLookupRequest._FinalStage
-
from
Inclusive lower bound for a range lookup (requires
to; non-sensitive fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceRecordLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
from
Inclusive lower bound for a range lookup (requires
to; non-sensitive fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceRecordLookupRequest._FinalStage
-
value
Exact value to match. Mutually exclusive with
from/toandprefix. Sensitive fields can only be looked up by exact value, and only through this body variant.- Specified by:
valuein interfaceRecordLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
Exact value to match. Mutually exclusive with
from/toandprefix. Sensitive fields can only be looked up by exact value, and only through this body variant.- Specified by:
valuein interfaceRecordLookupRequest._FinalStage
-
build
- Specified by:
buildin interfaceRecordLookupRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceRecordLookupRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceRecordLookupRequest._FinalStage
-