Interface ListGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,ResourceGroupsResponse.Builder,SdkBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGroupsResponse
public static interface ListGroupsResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ListGroupsResponse.BuildergroupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)A list of GroupIdentifier objects.ListGroupsResponse.BuildergroupIdentifiers(Consumer<GroupIdentifier.Builder>... groupIdentifiers)A list of GroupIdentifier objects.ListGroupsResponse.BuildergroupIdentifiers(GroupIdentifier... groupIdentifiers)A list of GroupIdentifier objects.ListGroupsResponse.Buildergroups(Collection<Group> groups)Deprecated.This field is deprecated, use GroupIdentifiers instead.ListGroupsResponse.Buildergroups(Consumer<Group.Builder>... groups)Deprecated.This field is deprecated, use GroupIdentifiers instead.ListGroupsResponse.Buildergroups(Group... groups)Deprecated.This field is deprecated, use GroupIdentifiers instead.ListGroupsResponse.BuildernextToken(String nextToken)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 Detail
-
groupIdentifiers
ListGroupsResponse.Builder groupIdentifiers(Collection<GroupIdentifier> 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
ListGroupsResponse.Builder groupIdentifiers(GroupIdentifier... 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
ListGroupsResponse.Builder groupIdentifiers(Consumer<GroupIdentifier.Builder>... 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 to#groupIdentifiers(List.) - 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:
#groupIdentifiers(java.util.Collection)
-
groups
@Deprecated ListGroupsResponse.Builder groups(Collection<Group> 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 ListGroupsResponse.Builder groups(Group... 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 ListGroupsResponse.Builder groups(Consumer<Group.Builder>... 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 to#groups(List.) - 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:
#groups(java.util.Collection)
-
nextToken
ListGroupsResponse.Builder nextToken(String 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.
-
-