public class FilterLogEventsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
FilterLogEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
FilterLogEventsResult |
clone() |
boolean |
equals(Object obj) |
List<FilteredLogEvent> |
getEvents()
A list of
FilteredLogEvent objects representing the matched
events from the request. |
String |
getNextToken()
A pagination token obtained from a
FilterLogEvents response
to continue paginating the FilterLogEvents results. |
List<SearchedLogStream> |
getSearchedLogStreams()
A list of
SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated. |
int |
hashCode() |
void |
setEvents(Collection<FilteredLogEvent> events)
A list of
FilteredLogEvent objects representing the matched
events from the request. |
void |
setNextToken(String nextToken)
A pagination token obtained from a
FilterLogEvents response
to continue paginating the FilterLogEvents results. |
void |
setSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
A list of
SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FilterLogEventsResult |
withEvents(Collection<FilteredLogEvent> events)
A list of
FilteredLogEvent objects representing the matched
events from the request. |
FilterLogEventsResult |
withEvents(FilteredLogEvent... events)
A list of
FilteredLogEvent objects representing the matched
events from the request. |
FilterLogEventsResult |
withNextToken(String nextToken)
A pagination token obtained from a
FilterLogEvents response
to continue paginating the FilterLogEvents results. |
FilterLogEventsResult |
withSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
A list of
SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated. |
FilterLogEventsResult |
withSearchedLogStreams(SearchedLogStream... searchedLogStreams)
A list of
SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated. |
public List<FilteredLogEvent> getEvents()
A list of FilteredLogEvent objects representing the matched
events from the request.
FilteredLogEvent objects representing the
matched events from the request.public void setEvents(Collection<FilteredLogEvent> events)
A list of FilteredLogEvent objects representing the matched
events from the request.
events - A list of FilteredLogEvent objects representing the
matched events from the request.public FilterLogEventsResult withEvents(FilteredLogEvent... events)
A list of FilteredLogEvent objects representing the matched
events from the request.
NOTE: This method appends the values to the existing list (if
any). Use setEvents(java.util.Collection) or
withEvents(java.util.Collection) if you want to override the
existing values.
events - A list of FilteredLogEvent objects representing the
matched events from the request.public FilterLogEventsResult withEvents(Collection<FilteredLogEvent> events)
A list of FilteredLogEvent objects representing the matched
events from the request.
events - A list of FilteredLogEvent objects representing the
matched events from the request.public List<SearchedLogStream> getSearchedLogStreams()
A list of SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated.
SearchedLogStream objects indicating which
log streams have been searched in this request and whether each
has been searched completely or still has more to be paginated.public void setSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
A list of SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated.
searchedLogStreams - A list of SearchedLogStream objects indicating which
log streams have been searched in this request and whether each
has been searched completely or still has more to be paginated.public FilterLogEventsResult withSearchedLogStreams(SearchedLogStream... searchedLogStreams)
A list of SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated.
NOTE: This method appends the values to the existing list (if
any). Use setSearchedLogStreams(java.util.Collection) or
withSearchedLogStreams(java.util.Collection) if you want to
override the existing values.
searchedLogStreams - A list of SearchedLogStream objects indicating which
log streams have been searched in this request and whether each
has been searched completely or still has more to be paginated.public FilterLogEventsResult withSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
A list of SearchedLogStream objects indicating which log
streams have been searched in this request and whether each has been
searched completely or still has more to be paginated.
searchedLogStreams - A list of SearchedLogStream objects indicating which
log streams have been searched in this request and whether each
has been searched completely or still has more to be paginated.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 FilterLogEventsResult 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 String toString()
toString in class ObjectObject.toString()public FilterLogEventsResult clone()
Copyright © 2016. All rights reserved.