CopyableBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>
, SdkBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>
public static interface FilterLogEventsRequest.Builder extends CopyableBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>
Modifier and Type | Method | Description |
---|---|---|
FilterLogEventsRequest.Builder |
endTime(Long endTime) |
The end of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
FilterLogEventsRequest.Builder |
filterPattern(String filterPattern) |
The filter pattern to use.
|
FilterLogEventsRequest.Builder |
interleaved(Boolean interleaved) |
If the value is true, the operation makes a best effort to provide responses that contain events from
multiple log streams within the log group interleaved in a single response.
|
FilterLogEventsRequest.Builder |
limit(Integer limit) |
The maximum number of events to return.
|
FilterLogEventsRequest.Builder |
logGroupName(String logGroupName) |
The name of the log group.
|
FilterLogEventsRequest.Builder |
logStreamNames(String... logStreamNames) |
Optional list of log stream names.
|
FilterLogEventsRequest.Builder |
logStreamNames(Collection<String> logStreamNames) |
Optional list of log stream names.
|
FilterLogEventsRequest.Builder |
nextToken(String nextToken) |
The token for the next set of events to return.
|
FilterLogEventsRequest.Builder |
startTime(Long startTime) |
The start of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
copy
apply, build
FilterLogEventsRequest.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.FilterLogEventsRequest.Builder logStreamNames(Collection<String> logStreamNames)
Optional list of log stream names.
logStreamNames
- Optional list of log stream names.FilterLogEventsRequest.Builder logStreamNames(String... logStreamNames)
Optional list of log stream names.
NOTE: This method appends the values to the existing list (if any). Use
#setLogStreamNames(java.util.Collection)
or #withLogStreamNames(java.util.Collection)
if you
want to override the existing values.
logStreamNames
- Optional list of log stream names.FilterLogEventsRequest.Builder startTime(Long startTime)
The start of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not returned.
startTime
- The start of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
Events with a timestamp prior to this time are not returned.FilterLogEventsRequest.Builder endTime(Long endTime)
The end of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not returned.
endTime
- The end of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
Events with a timestamp later than this time are not returned.FilterLogEventsRequest.Builder filterPattern(String filterPattern)
The filter pattern to use. If not provided, all the events are matched.
filterPattern
- The filter pattern to use. If not provided, all the events are matched.FilterLogEventsRequest.Builder nextToken(String nextToken)
The token for the next set of events to return. (You received this token from a previous call.)
nextToken
- The token for the next set of events to return. (You received this token from a previous call.)FilterLogEventsRequest.Builder limit(Integer limit)
The maximum number of events to return. The default is 10,000 events.
limit
- The maximum number of events to return. The default is 10,000 events.FilterLogEventsRequest.Builder interleaved(Boolean interleaved)
If the value is true, the operation makes a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If the value is false all the matched log events in the first log stream are searched first, then those in the next log stream, and so on. The default is false.
interleaved
- If the value is true, the operation makes a best effort to provide responses that contain events from
multiple log streams within the log group interleaved in a single response. If the value is false all
the matched log events in the first log stream are searched first, then those in the next log stream,
and so on. The default is false.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.