@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
An array of events.
|
String |
getNextToken()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
An array of events.
|
void |
setNextToken(String nextToken)
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)
An array of events.
|
DescribeEventsResult |
withEvents(Event... events)
An array of events.
|
DescribeEventsResult |
withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public String getNextToken()
Provides an identifier to allow retrieval of paginated results.
public DescribeEventsResult withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public List<Event> getEvents()
An array of events. Each element in the array represents one event.
public void setEvents(Collection<Event> events)
An array of events. Each element in the array represents one event.
events
- An array of events. Each element in the array represents one event.public DescribeEventsResult withEvents(Event... events)
An array of events. Each element in the array represents one event.
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
- An array of events. Each element in the array represents one event.public DescribeEventsResult withEvents(Collection<Event> events)
An array of events. Each element in the array represents one event.
events
- An array of events. Each element in the array represents one event.public String toString()
toString
in class Object
Object.toString()
public DescribeEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.