Interface ListUsersInGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<ListUsersInGroupResponse.Builder,
,ListUsersInGroupResponse> SdkBuilder<ListUsersInGroupResponse.Builder,
,ListUsersInGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersInGroupResponse
public static interface ListUsersInGroupResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListUsersInGroupResponse.Builder,ListUsersInGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn identifier that you can use in a later request to return the next set of items in the list.users
(Collection<UserType> users) A list of users in the group, and their attributes.users
(Consumer<UserType.Builder>... users) A list of users in the group, and their attributes.A list of users in the group, and their attributes.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
users
A list of users in the group, and their attributes.
- Parameters:
users
- A list of users in the group, and their attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of users in the group, and their attributes.
- Parameters:
users
- A list of users in the group, and their attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of users in the group, and their attributes.
This is a convenience method that creates an instance of theUserType.Builder
avoiding the need to create one manually viaUserType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<UserType>)
.- Parameters:
users
- a consumer that will call methods onUserType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that you can use in a later request to return the next set of items in the list.
- Parameters:
nextToken
- An identifier that you can use in a later request 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.
-