Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ListGroupsResponse.Builder,,ListGroupsResponse> SdkBuilder<ListGroupsResponse.Builder,,ListGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGroupsResponse
public static interface ListGroupsResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroups(Collection<GroupType> groups) The group objects for the groups.groups(Consumer<GroupType.Builder>... groups) The group objects for the groups.The group objects for the groups.An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
The group objects for the groups.
- Parameters:
groups- The group objects for the groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The group objects for the groups.
- Parameters:
groups- The group objects for the groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The group objects for the groups.
This is a convenience method that creates an instance of theGroupType.Builderavoiding the need to create one manually viaGroupType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<GroupType>).- Parameters:
groups- a consumer that will call methods onGroupType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-