public class FilterLogEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
FilterLogEventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
FilterLogEventsRequest |
clone() |
boolean |
equals(Object obj) |
Long |
getEndTime()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
String |
getFilterPattern()
A valid CloudWatch Logs filter pattern to use for filtering the response.
|
Boolean |
getInterleaved()
If provided, the API will make a best effort to provide responses that contain events from multiple log streams
within the log group interleaved in a single response.
|
Integer |
getLimit()
The maximum number of events to return in a page of results.
|
String |
getLogGroupName()
The name of the log group to query.
|
List<String> |
getLogStreamNames()
Optional list of log stream names within the specified log group to search.
|
String |
getNextToken()
A pagination token obtained from a
FilterLogEvents response to continue paginating the
FilterLogEvents results. |
Long |
getStartTime()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
int |
hashCode() |
Boolean |
isInterleaved()
If provided, the API will make a best effort to provide responses that contain events from multiple log streams
within the log group interleaved in a single response.
|
void |
setEndTime(Long endTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
void |
setFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern to use for filtering the response.
|
void |
setInterleaved(Boolean interleaved)
If provided, the API will make a best effort to provide responses that contain events from multiple log streams
within the log group interleaved in a single response.
|
void |
setLimit(Integer limit)
The maximum number of events to return in a page of results.
|
void |
setLogGroupName(String logGroupName)
The name of the log group to query.
|
void |
setLogStreamNames(Collection<String> logStreamNames)
Optional list of log stream names within the specified log group to search.
|
void |
setNextToken(String nextToken)
A pagination token obtained from a
FilterLogEvents response to continue paginating the
FilterLogEvents results. |
void |
setStartTime(Long startTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FilterLogEventsRequest |
withEndTime(Long endTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
FilterLogEventsRequest |
withFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern to use for filtering the response.
|
FilterLogEventsRequest |
withInterleaved(Boolean interleaved)
If provided, the API will make a best effort to provide responses that contain events from multiple log streams
within the log group interleaved in a single response.
|
FilterLogEventsRequest |
withLimit(Integer limit)
The maximum number of events to return in a page of results.
|
FilterLogEventsRequest |
withLogGroupName(String logGroupName)
The name of the log group to query.
|
FilterLogEventsRequest |
withLogStreamNames(Collection<String> logStreamNames)
Optional list of log stream names within the specified log group to search.
|
FilterLogEventsRequest |
withLogStreamNames(String... logStreamNames)
Optional list of log stream names within the specified log group to search.
|
FilterLogEventsRequest |
withNextToken(String nextToken)
A pagination token obtained from a
FilterLogEvents response to continue paginating the
FilterLogEvents results. |
FilterLogEventsRequest |
withStartTime(Long startTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLogGroupName(String logGroupName)
The name of the log group to query.
logGroupName - The name of the log group to query.public String getLogGroupName()
The name of the log group to query.
public FilterLogEventsRequest withLogGroupName(String logGroupName)
The name of the log group to query.
logGroupName - The name of the log group to query.public List<String> getLogStreamNames()
Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group.
public void setLogStreamNames(Collection<String> logStreamNames)
Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group.
logStreamNames - Optional list of log stream names within the specified log group to search. Defaults to all the log
streams in the log group.public FilterLogEventsRequest withLogStreamNames(String... logStreamNames)
Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group.
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 within the specified log group to search. Defaults to all the log
streams in the log group.public FilterLogEventsRequest withLogStreamNames(Collection<String> logStreamNames)
Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group.
logStreamNames - Optional list of log stream names within the specified log group to search. Defaults to all the log
streams in the log group.public void setStartTime(Long startTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp prior to this time are not returned.
startTime - A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided,
events with a timestamp prior to this time are not returned.public Long getStartTime()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp prior to this time are not returned.
public FilterLogEventsRequest withStartTime(Long startTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp prior to this time are not returned.
startTime - A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided,
events with a timestamp prior to this time are not returned.public void setEndTime(Long endTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp later than this time are not returned.
endTime - A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided,
events with a timestamp later than this time are not returned.public Long getEndTime()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp later than this time are not returned.
public FilterLogEventsRequest withEndTime(Long endTime)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp later than this time are not returned.
endTime - A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided,
events with a timestamp later than this time are not returned.public void setFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events are matched.
filterPattern - A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events
are matched.public String getFilterPattern()
A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events are matched.
public FilterLogEventsRequest withFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events are matched.
filterPattern - A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events
are matched.public void setNextToken(String nextToken)
A pagination token obtained from a FilterLogEvents response to continue paginating the
FilterLogEvents results. This token is omitted from the response when there are no other events to display.
nextToken - A pagination token obtained from a FilterLogEvents response to continue paginating the
FilterLogEvents results. This token is omitted from the response when there are no other events to
display.public String getNextToken()
A pagination token obtained from a FilterLogEvents response to continue paginating the
FilterLogEvents results. This token is omitted from the response when there are no other events to display.
FilterLogEvents response to continue paginating the
FilterLogEvents results. This token is omitted from the response when there are no other events to
display.public FilterLogEventsRequest withNextToken(String nextToken)
A pagination token obtained from a FilterLogEvents response to continue paginating the
FilterLogEvents results. This token is omitted from the response when there are no other events to display.
nextToken - A pagination token obtained from a FilterLogEvents response to continue paginating the
FilterLogEvents results. This token is omitted from the response when there are no other events to
display.public void setLimit(Integer limit)
The maximum number of events to return in a page of results. Default is 10,000 events.
limit - The maximum number of events to return in a page of results. Default is 10,000 events.public Integer getLimit()
The maximum number of events to return in a page of results. Default is 10,000 events.
public FilterLogEventsRequest withLimit(Integer limit)
The maximum number of events to return in a page of results. Default is 10,000 events.
limit - The maximum number of events to return in a page of results. Default is 10,000 events.public void setInterleaved(Boolean interleaved)
If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc.
interleaved - If provided, the API will make a best effort to provide responses that contain events from multiple log
streams within the log group interleaved in a single response. If not provided, all the matched log events
in the first log stream will be searched first, then those in the next log stream, etc.public Boolean getInterleaved()
If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc.
public FilterLogEventsRequest withInterleaved(Boolean interleaved)
If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc.
interleaved - If provided, the API will make a best effort to provide responses that contain events from multiple log
streams within the log group interleaved in a single response. If not provided, all the matched log events
in the first log stream will be searched first, then those in the next log stream, etc.public Boolean isInterleaved()
If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc.
public String toString()
toString in class ObjectObject.toString()public FilterLogEventsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.