public static interface ListGroupsResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
Modifier and Type | Method and Description |
---|---|
ListGroupsResponse.Builder |
groupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)
A list of GroupIdentifier objects.
|
ListGroupsResponse.Builder |
groupIdentifiers(Consumer<GroupIdentifier.Builder>... groupIdentifiers)
A list of GroupIdentifier objects.
|
ListGroupsResponse.Builder |
groupIdentifiers(GroupIdentifier... groupIdentifiers)
A list of GroupIdentifier objects.
|
ListGroupsResponse.Builder |
groups(Collection<Group> groups)
A list of resource groups.
|
ListGroupsResponse.Builder |
groups(Consumer<Group.Builder>... groups)
A list of resource groups.
|
ListGroupsResponse.Builder |
groups(Group... groups)
A list of resource groups.
|
ListGroupsResponse.Builder |
nextToken(String nextToken)
The NextToken value to include in a subsequent
ListGroups request, to get more results. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListGroupsResponse.Builder groupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and
the GroupArn.ListGroupsResponse.Builder groupIdentifiers(GroupIdentifier... groupIdentifiers)
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and
the GroupArn.ListGroupsResponse.Builder groupIdentifiers(Consumer<GroupIdentifier.Builder>... groupIdentifiers)
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
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 #groupIdentifiers(List)
.groupIdentifiers
- a consumer that will call methods on List.Builder
#groupIdentifiers(List)
ListGroupsResponse.Builder groups(Collection<Group> groups)
A list of resource groups.
groups
- A list of resource groups.ListGroupsResponse.Builder groups(Group... groups)
A list of resource groups.
groups
- A list of resource groups.ListGroupsResponse.Builder groups(Consumer<Group.Builder>... groups)
A list of resource groups.
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 NextToken value to include in a subsequent ListGroups
request, to get more results.
nextToken
- The NextToken value to include in a subsequent ListGroups
request, to get more results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.