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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsersInGroupResponse.BuildernextToken(String nextToken)An identifier that you can use in a later request to return the next set of items in the list.ListUsersInGroupResponse.Builderusers(Collection<UserType> users)A list of users in the group, and their attributes.ListUsersInGroupResponse.Builderusers(Consumer<UserType.Builder>... users)A list of users in the group, and their attributes.ListUsersInGroupResponse.Builderusers(UserType... users)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 Detail
-
users
ListUsersInGroupResponse.Builder users(Collection<UserType> 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
ListUsersInGroupResponse.Builder users(UserType... 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
ListUsersInGroupResponse.Builder users(Consumer<UserType.Builder>... users)
A list of users in the group, and their attributes.
This is a convenience method that creates an instance of theUserType.Builderavoiding the need to create one manually viaUserType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#users(List.) - 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:
#users(java.util.Collection)
-
nextToken
ListUsersInGroupResponse.Builder nextToken(String 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.
-
-