Class LogEntry.Builder
- All Implemented Interfaces:
LogEntry._FinalStage,LogEntry.MethodStage,LogEntry.ResourceStage,LogEntry.StatusStage,LogEntry.TimestampStage
- Enclosing class:
LogEntry
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The app context the request operated under — the context partition the credential carried.The app context the request operated under — the context partition the credential carried.The app context the request operated under — the context partition the credential carried.durationMs(Long durationMs) Total request duration in milliseconds, from auth to response completion.durationMs(Optional<Long> durationMs) Total request duration in milliseconds, from auth to response completion.ID of the API key or scoped token that issued the request.ID of the API key or scoped token that issued the request.ID of the API key or scoped token that issued the request.HTTP method of the request.Full request path.Full request path.Top-level resource the call targeted (one ofdocuments,records,search,schemas,folders,clients,orgs,users,usage,auth,models,ping,rag,chat,ask,erasure-requests, orexport), derived from the request path.status(int status) HTTP response status code.When the API call completed (ISO-8601 UTC).
-
Method Details
-
from
- Specified by:
fromin interfaceLogEntry.TimestampStage
-
timestamp
When the API call completed (ISO-8601 UTC).
When the API call completed (ISO-8601 UTC).
- Specified by:
timestampin interfaceLogEntry.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
method
HTTP method of the request.
HTTP method of the request.
- Specified by:
methodin interfaceLogEntry.MethodStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
resource
Top-level resource the call targeted (one of
documents,records,search,schemas,folders,clients,orgs,users,usage,auth,models,ping,rag,chat,ask,erasure-requests, orexport), derived from the request path.Top-level resource the call targeted (one of
documents,records,search,schemas,folders,clients,orgs,users,usage,auth,models,ping,rag,chat,ask,erasure-requests, orexport), derived from the request path.- Specified by:
resourcein interfaceLogEntry.ResourceStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
status
HTTP response status code.
HTTP response status code.
- Specified by:
statusin interfaceLogEntry.StatusStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
path
Full request path.
- Specified by:
pathin interfaceLogEntry._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
path
Full request path.
- Specified by:
pathin interfaceLogEntry._FinalStage
-
durationMs
Total request duration in milliseconds, from auth to response completion.
- Specified by:
durationMsin interfaceLogEntry._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
durationMs
Total request duration in milliseconds, from auth to response completion.
- Specified by:
durationMsin interfaceLogEntry._FinalStage
-
keyId
ID of the API key or scoped token that issued the request. Null if the request was unauthenticated (extremely rare — most paths require auth before logging).
- Specified by:
keyIdin interfaceLogEntry._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
keyId
ID of the API key or scoped token that issued the request. Null if the request was unauthenticated (extremely rare — most paths require auth before logging).
- Specified by:
keyIdin interfaceLogEntry._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
keyId
ID of the API key or scoped token that issued the request. Null if the request was unauthenticated (extremely rare — most paths require auth before logging).
- Specified by:
keyIdin interfaceLogEntry._FinalStage
-
contextId
The app context the request operated under — the context partition the credential carried.
*for a root/cross-context caller. Null for older log lines or for entry points that are not context-scoped.- Specified by:
contextIdin interfaceLogEntry._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextId
The app context the request operated under — the context partition the credential carried.
*for a root/cross-context caller. Null for older log lines or for entry points that are not context-scoped.- Specified by:
contextIdin interfaceLogEntry._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextId
The app context the request operated under — the context partition the credential carried.
*for a root/cross-context caller. Null for older log lines or for entry points that are not context-scoped.- Specified by:
contextIdin interfaceLogEntry._FinalStage
-
build
- Specified by:
buildin interfaceLogEntry._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceLogEntry._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceLogEntry._FinalStage
-