Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class DescribeEventsResult

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.DescribeEventsResult
All Implemented Interfaces:
Serializable

public class DescribeEventsResult
extends Object
implements Serializable

Result message wrapping a list of event descriptions.

See Also:
Serialized Form

Constructor Summary
DescribeEventsResult()
           
 
Method Summary
 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(Collection<EventDescription> events)
          A list of EventDescription.
 DescribeEventsResult withEvents(EventDescription... events)
          A list of EventDescription.
 DescribeEventsResult withNextToken(String nextToken)
          If returned, this indicates that there are more results to obtain.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeEventsResult

public DescribeEventsResult()
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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
events - A list of EventDescription.
Returns:
A reference to this updated object so that method calls can be chained together.

withEvents

public DescribeEventsResult withEvents(Collection<EventDescription> events)
A list of EventDescription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
events - A list of EventDescription.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.