@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()
Indicates which log streams have been searched and whether each has been searched completely.
|
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)
Indicates which log streams have been searched and whether each has been searched completely.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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)
Indicates which log streams have been searched and whether each has been searched completely.
|
FilterLogEventsResult |
withSearchedLogStreams(SearchedLogStream... searchedLogStreams)
Indicates which log streams have been searched and whether each has been searched completely.
|
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()
Indicates which log streams have been searched and whether each has been searched completely.
public void setSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
Indicates which log streams have been searched and whether each has been searched completely.
searchedLogStreams
- Indicates which log streams have been searched and whether each has been searched completely.public FilterLogEventsResult withSearchedLogStreams(SearchedLogStream... searchedLogStreams)
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
- Indicates which log streams have been searched and whether each has been searched completely.public FilterLogEventsResult withSearchedLogStreams(Collection<SearchedLogStream> searchedLogStreams)
Indicates which log streams have been searched and whether each has been searched completely.
searchedLogStreams
- 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.