Class GetLogEventsOptions.Builder
java.lang.Object
codes.grow.packages.cloudwatchlogs.GetLogEventsOptions.Builder
- Enclosing class:
GetLogEventsOptions
Builder of
GetLogEventsOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.Sets end: exclusive end.Sets limit: stop after this many events.Sets pageSize: events per request, 1–10 000.Sets start: inclusive start.startFromHead(Boolean value) Sets startFromHead: true: oldest first; false (default): newest page first (ascending inside a page).
-
Method Details
-
startFromHead
Sets startFromHead: true: oldest first; false (default): newest page first (ascending inside a page).- Parameters:
value- the value- Returns:
- this builder
-
start
Sets start: inclusive start.- Parameters:
value- the value- Returns:
- this builder
-
end
Sets end: exclusive end.- Parameters:
value- the value- Returns:
- this builder
-
pageSize
Sets pageSize: events per request, 1–10 000.- Parameters:
value- the value- Returns:
- this builder
-
limit
Sets limit: stop after this many events.- Parameters:
value- the value- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-