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()
FilteredLogEvent objects
representing the matched events from the request.FilteredLogEvent objects
representing the matched events from the request.public void setEvents(Collection<FilteredLogEvent> events)
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)
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.
Returns a reference to this object so that method calls can be chained together.
events - A list of FilteredLogEvent objects
representing the matched events from the request.public FilterLogEventsResult withEvents(Collection<FilteredLogEvent> events)
FilteredLogEvent objects
representing the matched events from the request.
Returns a reference to this object so that method calls can be chained together.
events - A list of FilteredLogEvent objects
representing the matched events from the request.public List<SearchedLogStream> getSearchedLogStreams()
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)
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)
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.
Returns a reference to this object so that method calls can be chained together.
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)
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.
Returns a reference to this object so that method calls can be chained together.
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 String getNextToken()
FilterLogEvents response to continue paginating
the FilterLogEvents results.
Constraints:
Length: 1 -
FilterLogEvents response to continue paginating
the FilterLogEvents results.public void setNextToken(String nextToken)
FilterLogEvents response to continue paginating
the FilterLogEvents results.
Constraints:
Length: 1 -
nextToken - A pagination token obtained from a FilterLogEvents response to continue paginating
the FilterLogEvents results.public FilterLogEventsResult withNextToken(String nextToken)
FilterLogEvents response to continue paginating
the FilterLogEvents results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken - A pagination token obtained from a FilterLogEvents response to continue paginating
the FilterLogEvents results.public String toString()
toString in class ObjectObject.toString()public FilterLogEventsResult clone()
Copyright © 2015. All rights reserved.