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
Modifier and TypeMethodDescriptiongroups(Collection<Group> groups) A list ofGroupobjects in the identity store.groups(Consumer<Group.Builder>... groups) A list ofGroupobjects in the identity store.A list ofGroupobjects in the identity store.The pagination token used for theListUsersandListGroupsAPI operations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.identitystore.model.IdentitystoreResponse.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
-
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
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
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 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
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.
-