Interface ListUserPoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<ListUserPoolsResponse.Builder,
,ListUserPoolsResponse> SdkBuilder<ListUserPoolsResponse.Builder,
,ListUserPoolsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUserPoolsResponse
@Mutable
@NotThreadSafe
public static interface ListUserPoolsResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListUserPoolsResponse.Builder,ListUserPoolsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier that Amazon Cognito returned with the previous request to this operation.userPools
(Collection<UserPoolDescriptionType> userPools) An array of user pools and their configuration details.userPools
(Consumer<UserPoolDescriptionType.Builder>... userPools) An array of user pools and their configuration details.userPools
(UserPoolDescriptionType... userPools) An array of user pools and their configuration details.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 Details
-
userPools
An array of user pools and their configuration details.
- Parameters:
userPools
- An array of user pools and their configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPools
An array of user pools and their configuration details.
- Parameters:
userPools
- An array of user pools and their configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPools
An array of user pools and their configuration details.
This is a convenience method that creates an instance of theUserPoolDescriptionType.Builder
avoiding the need to create one manually viaUserPoolDescriptionType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserPools(List<UserPoolDescriptionType>)
.- Parameters:
userPools
- a consumer that will call methods onUserPoolDescriptionType.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.
-