public static interface ListGroupsResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListGroupsResponse.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 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) 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 © 2023. All rights reserved.