CopyableBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>
, SdkBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>
public static interface ListActivitiesResponse.Builder extends CopyableBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>
Modifier and Type | Method | Description |
---|---|---|
ListActivitiesResponse.Builder |
activities(Collection<ActivityListItem> activities) |
The list of activities.
|
ListActivitiesResponse.Builder |
activities(ActivityListItem... activities) |
The list of activities.
|
ListActivitiesResponse.Builder |
nextToken(String nextToken) |
If a
nextToken is returned, there are more results available. |
copy
apply, build
ListActivitiesResponse.Builder activities(Collection<ActivityListItem> activities)
The list of activities.
activities
- The list of activities.ListActivitiesResponse.Builder activities(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.ListActivitiesResponse.Builder nextToken(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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.