@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LookupEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains a response to a LookupEvents action.
Constructor and Description |
---|
LookupEventsResult() |
Modifier and Type | Method and Description |
---|---|
LookupEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
A list of events returned based on the lookup attributes specified and the CloudTrail event.
|
String |
getNextToken()
The token to use to get the next page of results after a previous API call.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
A list of events returned based on the lookup attributes specified and the CloudTrail event.
|
void |
setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LookupEventsResult |
withEvents(Collection<Event> events)
A list of events returned based on the lookup attributes specified and the CloudTrail event.
|
LookupEventsResult |
withEvents(Event... events)
A list of events returned based on the lookup attributes specified and the CloudTrail event.
|
LookupEventsResult |
withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Event> getEvents()
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
public void setEvents(Collection<Event> events)
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
events
- A list of events returned based on the lookup attributes specified and the CloudTrail event. The events
list is sorted by time. The most recent event is listed first.public LookupEventsResult withEvents(Event... events)
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
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 events returned based on the lookup attributes specified and the CloudTrail event. The events
list is sorted by time. The most recent event is listed first.public LookupEventsResult withEvents(Collection<Event> events)
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
events
- A list of events returned based on the lookup attributes specified and the CloudTrail event. The events
list is sorted by time. The most recent event is listed first.public void setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
nextToken
- The token to use to get the next page of results after a previous API call. If the token does not appear,
there are no more results to return. The token must be passed in with the same parameters as the previous
call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root',
the call with NextToken should include those same parameters.public String getNextToken()
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
public LookupEventsResult withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
nextToken
- The token to use to get the next page of results after a previous API call. If the token does not appear,
there are no more results to return. The token must be passed in with the same parameters as the previous
call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root',
the call with NextToken should include those same parameters.public String toString()
toString
in class Object
Object.toString()
public LookupEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.