Class FilterLogEventsResult
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA list ofFilteredLogEventobjects representing the matched events from the request.A pagination token obtained from aFilterLogEventsresponse to continue paginating the FilterLogEvents results.A list ofSearchedLogStreamobjects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.inthashCode()voidsetEvents(Collection<FilteredLogEvent> events) A list ofFilteredLogEventobjects representing the matched events from the request.voidsetNextToken(String nextToken) A pagination token obtained from aFilterLogEventsresponse to continue paginating the FilterLogEvents results.voidsetSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams) A list ofSearchedLogStreamobjects 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 ofFilteredLogEventobjects representing the matched events from the request.withEvents(Collection<FilteredLogEvent> events) A list ofFilteredLogEventobjects representing the matched events from the request.withNextToken(String nextToken) A pagination token obtained from aFilterLogEventsresponse to continue paginating the FilterLogEvents results.withSearchedLogStreams(SearchedLogStream... searchedLogStreams) A list ofSearchedLogStreamobjects 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 ofSearchedLogStreamobjects 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
FilteredLogEventobjects representing the matched events from the request.- Returns:
- A list of
FilteredLogEventobjects representing the matched events from the request.
-
setEvents
A list of
FilteredLogEventobjects representing the matched events from the request.- Parameters:
events- A list ofFilteredLogEventobjects representing the matched events from the request.
-
withEvents
A list of
FilteredLogEventobjects 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 ofFilteredLogEventobjects 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
FilteredLogEventobjects representing the matched events from the request.- Parameters:
events- A list ofFilteredLogEventobjects 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
SearchedLogStreamobjects 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
SearchedLogStreamobjects 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
SearchedLogStreamobjects 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 ofSearchedLogStreamobjects 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
SearchedLogStreamobjects 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 ofSearchedLogStreamobjects 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
SearchedLogStreamobjects 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 ofSearchedLogStreamobjects 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
FilterLogEventsresponse 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 aFilterLogEventsresponse 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
FilterLogEventsresponse 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
FilterLogEventsresponse 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
FilterLogEventsresponse 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 aFilterLogEventsresponse 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
-