public static interface ListGroupsResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
Modifier and Type | Method and Description |
---|---|
ListGroupsResponse.Builder |
groups(Collection<Group> groups)
The overview of groups for an organization.
|
ListGroupsResponse.Builder |
groups(Consumer<Group.Builder>... groups)
The overview of groups for an organization.
|
ListGroupsResponse.Builder |
groups(Group... groups)
The overview of groups for an organization.
|
ListGroupsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListGroupsResponse.Builder groups(Collection<Group> groups)
The overview of groups for an organization.
groups
- The overview of groups for an organization.ListGroupsResponse.Builder groups(Group... groups)
The overview of groups for an organization.
groups
- The overview of groups for an organization.ListGroupsResponse.Builder groups(Consumer<Group.Builder>... groups)
The overview of groups for an organization.
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)
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. The value is "null" when there are no more
results to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.