@Generated(value="software.amazon.awssdk:codegen") public final class FilterLogEventsRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
FilterLogEventsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FilterLogEventsRequest.Builder |
builder() |
Long |
endTime()
The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
boolean |
equals(Object obj) |
String |
filterPattern()
The filter pattern to use.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
Integer |
limit()
The maximum number of events to return.
|
String |
logGroupName()
The name of the log group to search.
|
String |
logStreamNamePrefix()
Filters the results to include only events from log streams that have names starting with this prefix.
|
List<String> |
logStreamNames()
Filters the results to only logs from the log streams in this list.
|
String |
nextToken()
The token for the next set of events to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FilterLogEventsRequest.Builder> |
serializableBuilderClass() |
Long |
startTime()
The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
FilterLogEventsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String logGroupName()
The name of the log group to search.
public List<String> logStreamNames()
Filters the results to only logs from the log streams in this list.
If you specify a value for both logStreamNamePrefix and logStreamNames, the action
returns an InvalidParameterException error.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
If you specify a value for both logStreamNamePrefix and logStreamNames, the
action returns an InvalidParameterException error.
public String logStreamNamePrefix()
Filters the results to include only events from log streams that have names starting with this prefix.
If you specify a value for both logStreamNamePrefix and logStreamNames, but the value
for logStreamNamePrefix does not match any log stream names specified in logStreamNames
, the action returns an InvalidParameterException error.
If you specify a value for both logStreamNamePrefix and logStreamNames, but the
value for logStreamNamePrefix does not match any log stream names specified in
logStreamNames, the action returns an InvalidParameterException error.
public 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 timestamp before this time are not returned.
public 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 timestamp later than this time are not returned.
public String filterPattern()
The filter pattern to use. For more information, see Filter and Pattern Syntax.
If not provided, all the events are matched.
If not provided, all the events are matched.
public String nextToken()
The token for the next set of events to return. (You received this token from a previous call.)
public Integer limit()
The maximum number of events to return. The default is 10,000 events.
public 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.
public FilterLogEventsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>toBuilder in class CloudWatchLogsRequestpublic static FilterLogEventsRequest.Builder builder()
public static Class<? extends FilterLogEventsRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.