CopyableBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>
, SdkBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>
public static interface AdminListGroupsForUserResponse.Builder extends CopyableBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>
Modifier and Type | Method | Description |
---|---|---|
AdminListGroupsForUserResponse.Builder |
groups(Collection<GroupType> 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.
|
copy
apply, build
AdminListGroupsForUserResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setGroups(java.util.Collection)
or #withGroups(java.util.Collection)
if you want to override
the existing values.
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.
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.