public static interface ListGroupsResponse.Builder extends CognitoIdentityProviderResponse.Builder, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
Modifier and Type | Method and Description |
---|---|
ListGroupsResponse.Builder |
groups(Collection<GroupType> groups)
The group objects for the groups.
|
ListGroupsResponse.Builder |
groups(Consumer<GroupType.Builder>... groups)
The group objects for the groups.
|
ListGroupsResponse.Builder |
groups(GroupType... groups)
The group objects for the groups.
|
ListGroupsResponse.Builder |
nextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListGroupsResponse.Builder groups(Collection<GroupType> groups)
The group objects for the groups.
groups
- The group objects for the groups.ListGroupsResponse.Builder groups(GroupType... groups)
The group objects for the groups.
groups
- The group objects for the groups.ListGroupsResponse.Builder groups(Consumer<GroupType.Builder>... groups)
The group objects for the groups.
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 #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
ListGroupsResponse.Builder nextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return
the next set of items in the list.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.