@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListParticipantEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListParticipantEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListParticipantEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
List of the matching events.
|
String |
getNextToken()
If there are more events than
maxResults, use nextToken in the request to get the next
set. |
int |
hashCode() |
void |
setEvents(Collection<Event> events)
List of the matching events.
|
void |
setNextToken(String nextToken)
If there are more events than
maxResults, use nextToken in the request to get the next
set. |
String |
toString()
Returns a string representation of this object.
|
ListParticipantEventsResult |
withEvents(Collection<Event> events)
List of the matching events.
|
ListParticipantEventsResult |
withEvents(Event... events)
List of the matching events.
|
ListParticipantEventsResult |
withNextToken(String nextToken)
If there are more events than
maxResults, use nextToken in the request to get the next
set. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Event> getEvents()
List of the matching events.
public void setEvents(Collection<Event> events)
List of the matching events.
events - List of the matching events.public ListParticipantEventsResult withEvents(Event... events)
List of the matching events.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection) or withEvents(java.util.Collection) if you want to override the
existing values.
events - List of the matching events.public ListParticipantEventsResult withEvents(Collection<Event> events)
List of the matching events.
events - List of the matching events.public void setNextToken(String nextToken)
If there are more events than maxResults, use nextToken in the request to get the next
set.
nextToken - If there are more events than maxResults, use nextToken in the request to get
the next set.public String getNextToken()
If there are more events than maxResults, use nextToken in the request to get the next
set.
maxResults, use nextToken in the request to get
the next set.public ListParticipantEventsResult withNextToken(String nextToken)
If there are more events than maxResults, use nextToken in the request to get the next
set.
nextToken - If there are more events than maxResults, use nextToken in the request to get
the next set.public String toString()
toString in class ObjectObject.toString()public ListParticipantEventsResult clone()