public class FilterLogEventsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<FilteredLogEvent> |
events
A list of
FilteredLogEvent objects representing
the matched events from the request. |
private java.lang.String |
nextToken
A pagination token obtained from a
FilterLogEvents response to continue paginating
the FilterLogEvents results. |
private SdkInternalList<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. |
Constructor and Description |
---|
FilterLogEventsResult() |
Modifier and Type | Method and Description |
---|---|
FilterLogEventsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<FilteredLogEvent> |
getEvents()
A list of
FilteredLogEvent objects representing
the matched events from the request. |
java.lang.String |
getNextToken()
A pagination token obtained from a
FilterLogEvents response to continue paginating
the FilterLogEvents results. |
java.util.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(java.util.Collection<FilteredLogEvent> events)
A list of
FilteredLogEvent objects representing
the matched events from the request. |
void |
setNextToken(java.lang.String nextToken)
A pagination token obtained from a
FilterLogEvents response to continue paginating
the FilterLogEvents results. |
void |
setSearchedLogStreams(java.util.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. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FilterLogEventsResult |
withEvents(java.util.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(java.lang.String nextToken)
A pagination token obtained from a
FilterLogEvents response to continue paginating
the FilterLogEvents results. |
FilterLogEventsResult |
withSearchedLogStreams(java.util.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. |
private SdkInternalList<FilteredLogEvent> events
A list of FilteredLogEvent
objects representing
the matched events from the request.
private SdkInternalList<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.
private java.lang.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.
public java.util.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(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FilterLogEventsResult clone()
clone
in class java.lang.Object