@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventTrackersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventTrackersResult() |
Modifier and Type | Method and Description |
---|---|
ListEventTrackersResult |
clone() |
boolean |
equals(Object obj) |
List<EventTrackerSummary> |
getEventTrackers()
A list of event trackers.
|
String |
getNextToken()
A token for getting the next set of event trackers (if they exist).
|
int |
hashCode() |
void |
setEventTrackers(Collection<EventTrackerSummary> eventTrackers)
A list of event trackers.
|
void |
setNextToken(String nextToken)
A token for getting the next set of event trackers (if they exist).
|
String |
toString()
Returns a string representation of this object.
|
ListEventTrackersResult |
withEventTrackers(Collection<EventTrackerSummary> eventTrackers)
A list of event trackers.
|
ListEventTrackersResult |
withEventTrackers(EventTrackerSummary... eventTrackers)
A list of event trackers.
|
ListEventTrackersResult |
withNextToken(String nextToken)
A token for getting the next set of event trackers (if they exist).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventTrackerSummary> getEventTrackers()
A list of event trackers.
public void setEventTrackers(Collection<EventTrackerSummary> eventTrackers)
A list of event trackers.
eventTrackers
- A list of event trackers.public ListEventTrackersResult withEventTrackers(EventTrackerSummary... eventTrackers)
A list of event trackers.
NOTE: This method appends the values to the existing list (if any). Use
setEventTrackers(java.util.Collection)
or withEventTrackers(java.util.Collection)
if you want
to override the existing values.
eventTrackers
- A list of event trackers.public ListEventTrackersResult withEventTrackers(Collection<EventTrackerSummary> eventTrackers)
A list of event trackers.
eventTrackers
- A list of event trackers.public void setNextToken(String nextToken)
A token for getting the next set of event trackers (if they exist).
nextToken
- A token for getting the next set of event trackers (if they exist).public String getNextToken()
A token for getting the next set of event trackers (if they exist).
public ListEventTrackersResult withNextToken(String nextToken)
A token for getting the next set of event trackers (if they exist).
nextToken
- A token for getting the next set of event trackers (if they exist).public String toString()
toString
in class Object
Object.toString()
public ListEventTrackersResult clone()