Class DescribeEventsResult
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.DescribeEventsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeEventsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeEvents action.
- 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<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(Event... events)
A list of events.DescribeEventsResult
withEvents(Collection<Event> events)
A list of events.DescribeEventsResult
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
-
-
-
Method Detail
-
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.
-
getMarker
public String getMarker()
Provides an identifier to allow retrieval of paginated results.
- Returns:
- Provides an identifier to allow retrieval of paginated results.
-
withMarker
public DescribeEventsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.- Returns:
- Returns a reference to this 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.
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. Each element in the list contains detailed information about one event.- Returns:
- Returns a reference to this 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.
- Parameters:
events
- A list of events. Each element in the list contains detailed information about one event.- 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()
-
-