Class DescribeEventsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the result of a successful invocation of the DescribeEvents action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of Event instances.An optional pagination token provided by a previous Events request.int
hashCode()
void
setEvents
(Collection<Event> events) A list of Event instances.void
An optional pagination token provided by a previous Events request.toString()
Returns a string representation of this object; useful for testing and debugging.withEvents
(Event... events) A list of Event instances.withEvents
(Collection<Event> events) A list of Event instances.withMarker
(String marker) An optional pagination token provided by a previous Events request.
-
Constructor Details
-
DescribeEventsResult
public DescribeEventsResult()
-
-
Method Details
-
setMarker
An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.
-
getMarker
An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Returns:
- An optional pagination token provided by a previous Events
request. If this parameter is specified, the response includes
only records beyond the marker, up to the value specified by
MaxRecords
.
-
withMarker
An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEvents
A list of Event instances.
- Returns:
- A list of Event instances.
-
setEvents
A list of Event instances.
- Parameters:
events
- A list of Event instances.
-
withEvents
A list of Event instances.
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 Event instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
A list of Event instances.
- Parameters:
events
- A list of Event instances.- 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
-