com.amazonaws.services.elasticache.model
Class DescribeEventsResult

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

public class DescribeEventsResult
extends Object
implements Serializable

Represents the output of a DescribeEvents operation.

See Also:
Serialized Form

Constructor Summary
DescribeEventsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Event> getEvents()
          A list of events.
 String getMarker()
          Provides an identifier to allow retrieval of paginated results.
 int hashCode()
           
 void setEvents(Collection<Event> events)
          A list of events.
 void setMarker(String marker)
          Provides an identifier to allow retrieval of paginated results.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeEventsResult withEvents(Collection<Event> events)
          A list of events.
 DescribeEventsResult withEvents(Event... events)
          A list of events.
 DescribeEventsResult withMarker(String marker)
          Provides an identifier to allow retrieval of paginated results.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeEventsResult

public DescribeEventsResult()
Method Detail

getMarker

public String getMarker()
Provides an identifier to allow retrieval of paginated results.

Returns:
Provides an identifier to allow retrieval of paginated results.

setMarker

public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.

Parameters:
marker - Provides an identifier to allow retrieval of paginated results.

withMarker

public DescribeEventsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.

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

Parameters:
marker - Provides an identifier to allow retrieval of paginated results.
Returns:
A reference to this updated object so that method calls can be chained together.

getEvents

public List<Event> getEvents()
A list of events. Each element in the list contains detailed information about one event.

Returns:
A list of events. Each element in the list contains detailed information about one event.

setEvents

public void setEvents(Collection<Event> events)
A list of events. Each element in the list contains detailed information about one event.

Parameters:
events - A list of events. Each element in the list contains detailed information about one event.

withEvents

public DescribeEventsResult withEvents(Event... events)
A list of events. Each element in the list contains detailed information about one event.

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

Parameters:
events - A list of events. Each element in the list contains detailed information about one event.
Returns:
A reference to this updated object so that method calls can be chained together.

withEvents

public DescribeEventsResult withEvents(Collection<Event> events)
A list of events. Each element in the list contains detailed information about one event.

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

Parameters:
events - A list of events. Each element in the list contains detailed information about one event.
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 © 2016. All rights reserved.