public static interface AdminListGroupsForUserResponse.Builder extends CognitoIdentityProviderResponse.Builder, CopyableBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>
| Modifier and Type | Method and Description |
|---|---|
AdminListGroupsForUserResponse.Builder |
groups(Collection<GroupType> groups)
The groups that the user belongs to.
|
AdminListGroupsForUserResponse.Builder |
groups(Consumer<GroupType.Builder>... groups)
The groups that the user belongs to.
|
AdminListGroupsForUserResponse.Builder |
groups(GroupType... groups)
The groups that the user belongs to.
|
AdminListGroupsForUserResponse.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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildAdminListGroupsForUserResponse.Builder groups(Collection<GroupType> groups)
The groups that the user belongs to.
groups - The groups that the user belongs to.AdminListGroupsForUserResponse.Builder groups(GroupType... groups)
The groups that the user belongs to.
groups - The groups that the user belongs to.AdminListGroupsForUserResponse.Builder groups(Consumer<GroupType.Builder>... groups)
The groups that the user belongs to.
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) AdminListGroupsForUserResponse.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.