Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> ResourceGroupsResponse.Builder
,SdkBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGroupsResponse
-
Method Summary
Modifier and TypeMethodDescriptiongroupIdentifiers
(Collection<GroupIdentifier> groupIdentifiers) A list of GroupIdentifier objects.groupIdentifiers
(Consumer<GroupIdentifier.Builder>... groupIdentifiers) A list of GroupIdentifier objects.groupIdentifiers
(GroupIdentifier... groupIdentifiers) A list of GroupIdentifier objects.groups
(Collection<Group> groups) Deprecated.This field is deprecated, use GroupIdentifiers instead.groups
(Consumer<Group.Builder>... groups) Deprecated.This field is deprecated, use GroupIdentifiers instead.Deprecated.This field is deprecated, use GroupIdentifiers instead.If present, indicates that more output is available than is included in the current response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
groupIdentifiers
A list of GroupIdentifier objects. Each identifier is an object that contains both the
Name
and theGroupArn
.- Parameters:
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both theName
and theGroupArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupIdentifiers
A list of GroupIdentifier objects. Each identifier is an object that contains both the
Name
and theGroupArn
.- Parameters:
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both theName
and theGroupArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupIdentifiers
A list of GroupIdentifier objects. Each identifier is an object that contains both the
This is a convenience method that creates an instance of theName
and theGroupArn
.GroupIdentifier.Builder
avoiding the need to create one manually viaGroupIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupIdentifiers(List<GroupIdentifier>)
.- Parameters:
groupIdentifiers
- a consumer that will call methods onGroupIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groups
Deprecated.This field is deprecated, use GroupIdentifiers instead.Deprecated - don't use this field. Use the
GroupIdentifiers
response field instead.- Parameters:
groups
-Deprecated - don't use this field. Use the
GroupIdentifiers
response field instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Deprecated.This field is deprecated, use GroupIdentifiers instead.Deprecated - don't use this field. Use the
GroupIdentifiers
response field instead.- Parameters:
groups
-Deprecated - don't use this field. Use the
GroupIdentifiers
response field instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Deprecated.This field is deprecated, use GroupIdentifiers instead.Deprecated - don't use this field. Use the
GroupIdentifiers
response field instead.Group.Builder
avoiding the need to create one manually viaGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<Group>)
.- Parameters:
groups
- a consumer that will call methods onGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
.- Parameters:
nextToken
- If present, indicates that more output is available than is included in the current response. Use this value in theNextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-