Interface ListUserPoolsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ListUserPoolsResponse.Builder,ListUserPoolsResponse>,SdkBuilder<ListUserPoolsResponse.Builder,ListUserPoolsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListUserPoolsResponse
public static interface ListUserPoolsResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListUserPoolsResponse.Builder,ListUserPoolsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUserPoolsResponse.BuildernextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.ListUserPoolsResponse.BuilderuserPools(Collection<UserPoolDescriptionType> userPools)The user pools from the response to list users.ListUserPoolsResponse.BuilderuserPools(Consumer<UserPoolDescriptionType.Builder>... userPools)The user pools from the response to list users.ListUserPoolsResponse.BuilderuserPools(UserPoolDescriptionType... userPools)The user pools from the response to list users.-
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
-
userPools
ListUserPoolsResponse.Builder userPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
- Parameters:
userPools- The user pools from the response to list users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPools
ListUserPoolsResponse.Builder userPools(UserPoolDescriptionType... userPools)
The user pools from the response to list users.
- Parameters:
userPools- The user pools from the response to list users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPools
ListUserPoolsResponse.Builder userPools(Consumer<UserPoolDescriptionType.Builder>... userPools)
The user pools from the response to list users.
This is a convenience method that creates an instance of theUserPoolDescriptionType.Builderavoiding the need to create one manually viaUserPoolDescriptionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userPools(List.) - 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:
#userPools(java.util.Collection)
-
nextToken
ListUserPoolsResponse.Builder nextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used 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.
-
-