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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListIdentityPoolsResponse.BuilderidentityPools(Collection<IdentityPoolShortDescription> identityPools)The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResponse.BuilderidentityPools(Consumer<IdentityPoolShortDescription.Builder>... identityPools)The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResponse.BuilderidentityPools(IdentityPoolShortDescription... identityPools)The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResponse.BuildernextToken(String nextToken)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 Detail
-
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
ListIdentityPoolsResponse.Builder identityPools(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
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.Builderavoiding the need to create one manually viaIdentityPoolShortDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#identityPools(List.) - 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:
#identityPools(java.util.Collection)
-
nextToken
ListIdentityPoolsResponse.Builder nextToken(String nextToken)
A pagination token.
- Parameters:
nextToken- A pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-