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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsersInGroupResponse.BuildernextToken(String nextToken)The identifier that Amazon Cognito returned with the previous request to this operation.ListUsersInGroupResponse.Builderusers(Collection<UserType> users)An array of users who are members in the group, and their attributes.ListUsersInGroupResponse.Builderusers(Consumer<UserType.Builder>... users)An array of users who are members in the group, and their attributes.ListUsersInGroupResponse.Builderusers(UserType... users)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, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
users
ListUsersInGroupResponse.Builder users(Collection<UserType> 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
ListUsersInGroupResponse.Builder users(UserType... 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
ListUsersInGroupResponse.Builder users(Consumer<UserType.Builder>... 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 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)
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.
-
-