@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterLogEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
FilterLogEventsResult() |
Modifier and Type | Method and Description |
---|---|
FilterLogEventsResult |
clone() |
boolean |
equals(Object obj) |
List<FilteredLogEvent> |
getEvents()
The matched events.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<SearchedLogStream> |
getSearchedLogStreams()
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated.
|
int |
hashCode() |
void |
setEvents(Collection<FilteredLogEvent> events)
The matched events.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated.
|
String |
toString()
Returns a string representation of this object.
|
FilterLogEventsResult |
withEvents(Collection<FilteredLogEvent> events)
The matched events.
|
FilterLogEventsResult |
withEvents(FilteredLogEvent... events)
The matched events.
|
FilterLogEventsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
FilterLogEventsResult |
withSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated.
|
FilterLogEventsResult |
withSearchedLogStreams(SearchedLogStream... searchedLogStreams)
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FilteredLogEvent> getEvents()
The matched events.
public void setEvents(Collection<FilteredLogEvent> events)
The matched events.
events
- The matched events.public FilterLogEventsResult withEvents(FilteredLogEvent... events)
The matched events.
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
- The matched events.public FilterLogEventsResult withEvents(Collection<FilteredLogEvent> events)
The matched events.
events
- The matched events.public List<SearchedLogStream> getSearchedLogStreams()
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
Indicates which log streams have been searched and whether each has been searched completely.
public void setSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
searchedLogStreams
- IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an
empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
public FilterLogEventsResult withSearchedLogStreams(SearchedLogStream... searchedLogStreams)
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
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
- IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an
empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
public FilterLogEventsResult withSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
searchedLogStreams
- IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an
empty list after the deprecation occurs.
Indicates which log streams have been searched and whether each has been searched completely.
public void setNextToken(String nextToken)
The token to use when requesting the next set of items. The token expires after 24 hours.
nextToken
- The token to use when requesting the next set of items. The token expires after 24 hours.public String getNextToken()
The token to use when requesting the next set of items. The token expires after 24 hours.
public FilterLogEventsResult withNextToken(String nextToken)
The token to use when requesting the next set of items. The token expires after 24 hours.
nextToken
- The token to use when requesting the next set of items. The token expires after 24 hours.public String toString()
toString
in class Object
Object.toString()
public FilterLogEventsResult clone()