Class DescribeEventsResult
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.DescribeEventsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeEventsResult extends Object implements Serializable, Cloneable
Result message wrapping a list of event descriptions.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeEventsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEventsResult
clone()
boolean
equals(Object obj)
List<EventDescription>
getEvents()
A list of EventDescription.String
getNextToken()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeEventsResult
withEvents(EventDescription... events)
A list of EventDescription.DescribeEventsResult
withEvents(Collection<EventDescription> events)
A list of EventDescription.DescribeEventsResult
withNextToken(String nextToken)
If returned, this indicates that there are more results to obtain.
-
-
-
Method Detail
-
getEvents
public List<EventDescription> getEvents()
A list of EventDescription.
- Returns:
- A list of EventDescription.
-
setEvents
public void setEvents(Collection<EventDescription> events)
A list of EventDescription.
- Parameters:
events
- A list of EventDescription.
-
withEvents
public DescribeEventsResult withEvents(EventDescription... events)
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
public DescribeEventsResult withEvents(Collection<EventDescription> events)
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
public void setNextToken(String 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.
- 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
public String 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
public DescribeEventsResult withNextToken(String 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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEventsResult clone()
-
-