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
copyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
Nameand theGroupArn.- Parameters:
groupIdentifiers- A list of GroupIdentifier objects. Each identifier is an object that contains both theNameand 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
Nameand theGroupArn.- Parameters:
groupIdentifiers- A list of GroupIdentifier objects. Each identifier is an object that contains both theNameand 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 theNameand theGroupArn.GroupIdentifier.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,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
GroupIdentifiersresponse field instead.- Parameters:
groups-Deprecated - don't use this field. Use the
GroupIdentifiersresponse 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
GroupIdentifiersresponse field instead.- Parameters:
groups-Deprecated - don't use this field. Use the
GroupIdentifiersresponse 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. This is a convenience method that creates an instance of theDeprecated - don't use this field. Use the
GroupIdentifiersresponse field instead.Group.Builderavoiding the need to create one manually viaGroup.builder().When the
Consumercompletes,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
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse 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 theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-