Interface ListIdentityPoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityResponse.Builder
,CopyableBuilder<ListIdentityPoolsResponse.Builder,
,ListIdentityPoolsResponse> SdkBuilder<ListIdentityPoolsResponse.Builder,
,ListIdentityPoolsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIdentityPoolsResponse
public static interface ListIdentityPoolsResponse.Builder
extends CognitoIdentityResponse.Builder, SdkPojo, CopyableBuilder<ListIdentityPoolsResponse.Builder,ListIdentityPoolsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionidentityPools
(Collection<IdentityPoolShortDescription> identityPools) The identity pools returned by the ListIdentityPools action.identityPools
(Consumer<IdentityPoolShortDescription.Builder>... identityPools) The identity pools returned by the ListIdentityPools action.identityPools
(IdentityPoolShortDescription... identityPools) The identity pools returned by the ListIdentityPools action.A pagination token.Methods inherited from interface software.amazon.awssdk.services.cognitoidentity.model.CognitoIdentityResponse.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 Details
-
identityPools
ListIdentityPoolsResponse.Builder identityPools(Collection<IdentityPoolShortDescription> identityPools) The identity pools returned by the ListIdentityPools action.
- Parameters:
identityPools
- The identity pools returned by the ListIdentityPools action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityPools
The identity pools returned by the ListIdentityPools action.
- Parameters:
identityPools
- The identity pools returned by the ListIdentityPools action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityPools
ListIdentityPoolsResponse.Builder identityPools(Consumer<IdentityPoolShortDescription.Builder>... identityPools) The identity pools returned by the ListIdentityPools action.
This is a convenience method that creates an instance of theIdentityPoolShortDescription.Builder
avoiding the need to create one manually viaIdentityPoolShortDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityPools(List<IdentityPoolShortDescription>)
.- Parameters:
identityPools
- a consumer that will call methods onIdentityPoolShortDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token.
- Parameters:
nextToken
- A pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-