Interface ListUsersInGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ListUsersInGroupResponse.Builder,,ListUsersInGroupResponse> SdkBuilder<ListUsersInGroupResponse.Builder,,ListUsersInGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUsersInGroupResponse
@Mutable
@NotThreadSafe
public static interface ListUsersInGroupResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListUsersInGroupResponse.Builder,ListUsersInGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier that Amazon Cognito returned with the previous request to this operation.users(Collection<UserType> users) An array of users who are members in the group, and their attributes.users(Consumer<UserType.Builder>... users) An array of users who are members in the group, and their attributes.An array of users who are members in the group, and their attributes.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
users
An array of users who are members in the group, and their attributes.
- Parameters:
users- An array of users who are members in the group, and their attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
An array of users who are members in the group, and their attributes.
- Parameters:
users- An array of users who are members in the group, and their attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
An array of users who are members 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 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
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
- Parameters:
nextToken- The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-