public static interface AdminListGroupsForUserResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theGroupType.Builder avoiding the need to
create one manually via
GroupType.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #groups(List.
groups - a consumer that will call methods on
GroupType.Builder#groups(java.util.Collection) 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 © 2022. All rights reserved.