Class LookupEventsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains a response to a LookupEvents action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of events returned based on the lookup attributes specified and the CloudTrail event.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.toString()
Returns a string representation of this object; useful for testing and debugging.withEvents
(Event... events) A list of events returned based on the lookup attributes specified and the CloudTrail event.withEvents
(Collection<Event> events) A list of events returned based on the lookup attributes specified and the CloudTrail event.withNextToken
(String nextToken) The token to use to get the next page of results after a previous API call.
-
Constructor Details
-
LookupEventsResult
public LookupEventsResult()
-
-
Method Details
-
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.
- Returns:
- 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.
-
setEvents
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.
- Parameters:
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.
-
withEvents
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)
orwithEvents(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- 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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-