Class DescribeEventsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Result message wrapping a list of event descriptions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of EventDescription.If returned, this indicates that there are more results to obtain.int
hashCode()
void
setEvents
(Collection<EventDescription> events) A list of EventDescription.void
setNextToken
(String nextToken) If returned, this indicates that there are more results to obtain.toString()
Returns a string representation of this object; useful for testing and debugging.withEvents
(EventDescription... events) A list of EventDescription.withEvents
(Collection<EventDescription> events) A list of EventDescription.withNextToken
(String nextToken) If returned, this indicates that there are more results to obtain.
-
Constructor Details
-
DescribeEventsResult
public DescribeEventsResult()
-
-
Method Details
-
getEvents
A list of EventDescription.
- Returns:
- A list of EventDescription.
-
setEvents
A list of EventDescription.
- Parameters:
events
- A list of EventDescription.
-
withEvents
A list of EventDescription.
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 EventDescription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
A list of EventDescription.
- Parameters:
events
- A list of EventDescription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.
- Parameters:
nextToken
- If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.
-
getNextToken
If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.
- Returns:
- If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.
-
withNextToken
If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.
- Parameters:
nextToken
- If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.- 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
-