public static interface FilterLogEventsRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>
Modifier and Type | Method and Description |
---|---|
FilterLogEventsRequest.Builder |
endTime(Long endTime)
The end of the time range, expressed as the number of milliseconds after 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(Collection<String> logStreamNames)
Optional list of log stream names.
|
FilterLogEventsRequest.Builder |
logStreamNames(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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
FilterLogEventsRequest.Builder |
startTime(Long startTime)
The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
build
requestOverrideConfig, requestOverrideConfig
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.
logStreamNames
- Optional list of log stream names.FilterLogEventsRequest.Builder startTime(Long startTime)
The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not returned.
startTime
- The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Events with a time stamp before this time are not returned.FilterLogEventsRequest.Builder endTime(Long endTime)
The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not returned.
endTime
- The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Events with a time stamp 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.FilterLogEventsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.