@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTimelineEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTimelineEventsResult() |
Modifier and Type | Method and Description |
---|---|
ListTimelineEventsResult |
clone() |
boolean |
equals(Object obj) |
List<EventSummary> |
getEventSummaries()
Details about each event that occurred during the incident.
|
String |
getNextToken()
The pagination token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setEventSummaries(Collection<EventSummary> eventSummaries)
Details about each event that occurred during the incident.
|
void |
setNextToken(String nextToken)
The pagination token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object.
|
ListTimelineEventsResult |
withEventSummaries(Collection<EventSummary> eventSummaries)
Details about each event that occurred during the incident.
|
ListTimelineEventsResult |
withEventSummaries(EventSummary... eventSummaries)
Details about each event that occurred during the incident.
|
ListTimelineEventsResult |
withNextToken(String nextToken)
The pagination token to use when requesting the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventSummary> getEventSummaries()
Details about each event that occurred during the incident.
public void setEventSummaries(Collection<EventSummary> eventSummaries)
Details about each event that occurred during the incident.
eventSummaries
- Details about each event that occurred during the incident.public ListTimelineEventsResult withEventSummaries(EventSummary... eventSummaries)
Details about each event that occurred during the incident.
NOTE: This method appends the values to the existing list (if any). Use
setEventSummaries(java.util.Collection)
or withEventSummaries(java.util.Collection)
if you want
to override the existing values.
eventSummaries
- Details about each event that occurred during the incident.public ListTimelineEventsResult withEventSummaries(Collection<EventSummary> eventSummaries)
Details about each event that occurred during the incident.
eventSummaries
- Details about each event that occurred during the incident.public void setNextToken(String nextToken)
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
nextToken
- The pagination token to use when requesting the next set of items. If there are no additional items to
return, the string is null.public String getNextToken()
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
public ListTimelineEventsResult withNextToken(String nextToken)
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
nextToken
- The pagination token to use when requesting the next set of items. If there are no additional items to
return, the string is null.public String toString()
toString
in class Object
Object.toString()
public ListTimelineEventsResult clone()