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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
groupIdentifiersA 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 the- Nameand the- GroupArn.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupIdentifiersA 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 the- Nameand the- GroupArn.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupIdentifiersA 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 on- GroupIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
groupsDeprecated.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.
 
- 
groupsDeprecated.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.
 
- 
groupsDeprecated.This field is deprecated, use GroupIdentifiers instead.Deprecated - 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 on- Group.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenIf 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 the- NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the- NextTokenresponse element comes back as- null.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-