public static interface ListActivitiesResponse.Builder extends SFNResponse.Builder, CopyableBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>
Modifier and Type | Method and Description |
---|---|
ListActivitiesResponse.Builder |
activities(ActivityListItem... activities)
The list of activities.
|
ListActivitiesResponse.Builder |
activities(Collection<ActivityListItem> activities)
The list of activities.
|
ListActivitiesResponse.Builder |
activities(Consumer<ActivityListItem.Builder>... activities)
The list of activities.
|
ListActivitiesResponse.Builder |
nextToken(String nextToken)
If a
nextToken is returned by a previous call, there are more results available. |
build
sdkHttpResponse, sdkHttpResponse
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.
activities
- The list of activities.ListActivitiesResponse.Builder activities(Consumer<ActivityListItem.Builder>... activities)
The list of activities.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #activities(List)
.activities
- a consumer that will call methods on List.Builder
#activities(List)
ListActivitiesResponse.Builder nextToken(String nextToken)
If a nextToken
is returned by a previous call, 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 by a previous call, 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.