@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
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setActivities(Collection<ActivityListItem> activities)
The list of activities.
|
void |
setNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListActivitiesResult |
withActivities(ActivityListItem... activities)
The list of activities.
|
ListActivitiesResult |
withActivities(Collection<ActivityListItem> activities)
The list of activities.
|
ListActivitiesResult |
withNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 nextToken is returned, there are more results available. The value of nextToken is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken - If nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String getNextToken()
If nextToken is returned, there are more results available. The value of nextToken is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public ListActivitiesResult withNextToken(String nextToken)
If nextToken is returned, there are more results available. The value of nextToken is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken - If nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String toString()
toString in class ObjectObject.toString()public ListActivitiesResult clone()
Copyright © 2020. All rights reserved.