@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListActivitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListActivitiesResult() |
Modifier and Type | Method and Description |
---|---|
ListActivitiesResult |
clone() |
boolean |
equals(Object obj) |
List<ActivityListItem> |
getActivities()
The list of activities.
|
String |
getNextToken()
If a
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setActivities(Collection<ActivityListItem> activities)
The list of activities.
|
void |
setNextToken(String nextToken)
If a
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListActivitiesResult |
withActivities(ActivityListItem... activities)
The list of activities.
|
ListActivitiesResult |
withActivities(Collection<ActivityListItem> activities)
The list of activities.
|
ListActivitiesResult |
withNextToken(String nextToken)
If a
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ActivityListItem> getActivities()
The list of activities.
public void setActivities(Collection<ActivityListItem> activities)
The list of activities.
activities
- The list of activities.public ListActivitiesResult withActivities(ActivityListItem... activities)
The list of activities.
NOTE: This method appends the values to the existing list (if any). Use
setActivities(java.util.Collection)
or withActivities(java.util.Collection)
if you want to
override the existing values.
activities
- The list of activities.public ListActivitiesResult withActivities(Collection<ActivityListItem> activities)
The list of activities.
activities
- The list of activities.public void setNextToken(String nextToken)
If a nextToken
is returned, there are more results available. To retrieve the next page of results,
make the call again using the returned token in nextToken
. Keep all other arguments unchanged.
The configured maxResults
determines how many results can be returned in a single call.
nextToken
- If a nextToken
is returned, there are more results available. To retrieve the next page of
results, make the call again using the returned token in nextToken
. Keep all other arguments
unchanged.
The configured maxResults
determines how many results can be returned in a single call.
public String getNextToken()
If a nextToken
is returned, there are more results available. To retrieve the next page of results,
make the call again using the returned token in nextToken
. Keep all other arguments unchanged.
The configured maxResults
determines how many results can be returned in a single call.
nextToken
is returned, there are more results available. To retrieve the next page of
results, make the call again using the returned token in nextToken
. Keep all other arguments
unchanged.
The configured maxResults
determines how many results can be returned in a single call.
public ListActivitiesResult withNextToken(String nextToken)
If a nextToken
is returned, there are more results available. To retrieve the next page of results,
make the call again using the returned token in nextToken
. Keep all other arguments unchanged.
The configured maxResults
determines how many results can be returned in a single call.
nextToken
- If a nextToken
is returned, there are more results available. To retrieve the next page of
results, make the call again using the returned token in nextToken
. Keep all other arguments
unchanged.
The configured maxResults
determines how many results can be returned in a single call.
public String toString()
toString
in class Object
Object.toString()
public ListActivitiesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.