Interface ListGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,IdentitystoreResponse.Builder,SdkBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGroupsResponse
public static interface ListGroupsResponse.Builder extends IdentitystoreResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGroupsResponse.Buildergroups(Collection<Group> groups)A list ofGroupobjects in the identity store.ListGroupsResponse.Buildergroups(Consumer<Group.Builder>... groups)A list ofGroupobjects in the identity store.ListGroupsResponse.Buildergroups(Group... groups)A list ofGroupobjects in the identity store.ListGroupsResponse.BuildernextToken(String nextToken)The pagination token used for theListUsersandListGroupsAPI operations.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.identitystore.model.IdentitystoreResponse.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
-
groups
ListGroupsResponse.Builder groups(Collection<Group> groups)
A list of
Groupobjects in the identity store.- Parameters:
groups- A list ofGroupobjects in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
ListGroupsResponse.Builder groups(Group... groups)
A list of
Groupobjects in the identity store.- Parameters:
groups- A list ofGroupobjects in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
ListGroupsResponse.Builder groups(Consumer<Group.Builder>... groups)
A list of
This is a convenience method that creates an instance of theGroupobjects in the identity store.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)
The pagination token used for the
ListUsersandListGroupsAPI operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it1 is used in the API request to search for the next page.- Parameters:
nextToken- The pagination token used for theListUsersandListGroupsAPI operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it1 is used in the API request to search for the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-