@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)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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.
|
List<String> |
logStreamNames()
Optional list of log stream names.
|
String |
nextToken()
The token for the next set of events to return.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String logGroupName()
The name of the log group.
public List<String> logStreamNames()
Optional list of log stream names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 time stamp 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 time stamp later than this time are not returned.
public String filterPattern()
The filter pattern to use. 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FilterLogEventsRequest.Builder,FilterLogEventsRequest>
toBuilder
in class CloudWatchLogsRequest
public static FilterLogEventsRequest.Builder builder()
public static Class<? extends FilterLogEventsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.