Class FilterLogEventsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list ofFilteredLogEvent
objects representing the matched events from the request.A pagination token obtained from aFilterLogEvents
response to continue paginating the FilterLogEvents results.A list ofSearchedLogStream
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 ofFilteredLogEvent
objects representing the matched events from the request.void
setNextToken
(String nextToken) A pagination token obtained from aFilterLogEvents
response to continue paginating the FilterLogEvents results.void
setSearchedLogStreams
(Collection<SearchedLogStream> searchedLogStreams) A list ofSearchedLogStream
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.toString()
Returns a string representation of this object; useful for testing and debugging.withEvents
(FilteredLogEvent... events) A list ofFilteredLogEvent
objects representing the matched events from the request.withEvents
(Collection<FilteredLogEvent> events) A list ofFilteredLogEvent
objects representing the matched events from the request.withNextToken
(String nextToken) A pagination token obtained from aFilterLogEvents
response to continue paginating the FilterLogEvents results.withSearchedLogStreams
(SearchedLogStream... searchedLogStreams) A list ofSearchedLogStream
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.withSearchedLogStreams
(Collection<SearchedLogStream> searchedLogStreams) A list ofSearchedLogStream
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.
-
Constructor Details
-
FilterLogEventsResult
public FilterLogEventsResult()
-
-
Method Details
-
getEvents
A list of
FilteredLogEvent
objects representing the matched events from the request.- Returns:
- A list of
FilteredLogEvent
objects representing the matched events from the request.
-
setEvents
A list of
FilteredLogEvent
objects representing the matched events from the request.- Parameters:
events
- A list ofFilteredLogEvent
objects representing the matched events from the request.
-
withEvents
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)
orwithEvents(java.util.Collection)
if you want to override the existing values.- Parameters:
events
- A list ofFilteredLogEvent
objects representing the matched events from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
A list of
FilteredLogEvent
objects representing the matched events from the request.- Parameters:
events
- A list ofFilteredLogEvent
objects representing the matched events from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- 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.
-
setSearchedLogStreams
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.- Parameters:
searchedLogStreams
- A list ofSearchedLogStream
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.
-
withSearchedLogStreams
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)
orwithSearchedLogStreams(java.util.Collection)
if you want to override the existing values.- Parameters:
searchedLogStreams
- A list ofSearchedLogStream
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:
- Returns a reference to this object so that method calls can be chained together.
-
withSearchedLogStreams
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.- Parameters:
searchedLogStreams
- A list ofSearchedLogStream
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:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.- Parameters:
nextToken
- A pagination token obtained from aFilterLogEvents
response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.
-
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.- Returns:
- 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.
-
withNextToken
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.- Parameters:
nextToken
- A pagination token obtained from aFilterLogEvents
response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-