Class FilterLogEventsResult
- java.lang.Object
-
- com.amazonaws.services.logs.model.FilterLogEventsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class FilterLogEventsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FilterLogEventsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterLogEventsResultclone()booleanequals(Object obj)List<FilteredLogEvent>getEvents()A list ofFilteredLogEventobjects representing the matched events from the request.StringgetNextToken()A pagination token obtained from aFilterLogEventsresponse to continue paginating the FilterLogEvents results.List<SearchedLogStream>getSearchedLogStreams()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.FilterLogEventsResultwithEvents(FilteredLogEvent... events)A list ofFilteredLogEventobjects representing the matched events from the request.FilterLogEventsResultwithEvents(Collection<FilteredLogEvent> events)A list ofFilteredLogEventobjects representing the matched events from the request.FilterLogEventsResultwithNextToken(String nextToken)A pagination token obtained from aFilterLogEventsresponse to continue paginating the FilterLogEvents results.FilterLogEventsResultwithSearchedLogStreams(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.FilterLogEventsResultwithSearchedLogStreams(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.
-
-
-
Method Detail
-
getEvents
public List<FilteredLogEvent> 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
public void setEvents(Collection<FilteredLogEvent> events)
A list of
FilteredLogEventobjects representing the matched events from the request.- Parameters:
events- A list ofFilteredLogEventobjects representing the matched events from the request.
-
withEvents
public FilterLogEventsResult withEvents(FilteredLogEvent... events)
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
public FilterLogEventsResult withEvents(Collection<FilteredLogEvent> events)
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
public List<SearchedLogStream> 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
public void setSearchedLogStreams(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.
-
withSearchedLogStreams
public FilterLogEventsResult withSearchedLogStreams(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.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
public void setNextToken(String nextToken)
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
public String 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
public FilterLogEventsResult withNextToken(String nextToken)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FilterLogEventsResult clone()
-
-