Interface ListIdentitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityResponse.Builder
,CopyableBuilder<ListIdentitiesResponse.Builder,
,ListIdentitiesResponse> SdkBuilder<ListIdentitiesResponse.Builder,
,ListIdentitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIdentitiesResponse
public static interface ListIdentitiesResponse.Builder
extends CognitoIdentityResponse.Builder, SdkPojo, CopyableBuilder<ListIdentitiesResponse.Builder,ListIdentitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionidentities
(Collection<IdentityDescription> identities) An object containing a set of identities and associated mappings.identities
(Consumer<IdentityDescription.Builder>... identities) An object containing a set of identities and associated mappings.identities
(IdentityDescription... identities) An object containing a set of identities and associated mappings.identityPoolId
(String identityPoolId) An identity pool ID in the format REGION:GUID.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
-
identityPoolId
An identity pool ID in the format REGION:GUID.
- Parameters:
identityPoolId
- An identity pool ID in the format REGION:GUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identities
An object containing a set of identities and associated mappings.
- Parameters:
identities
- An object containing a set of identities and associated mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identities
An object containing a set of identities and associated mappings.
- Parameters:
identities
- An object containing a set of identities and associated mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identities
An object containing a set of identities and associated mappings.
This is a convenience method that creates an instance of theIdentityDescription.Builder
avoiding the need to create one manually viaIdentityDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentities(List<IdentityDescription>)
.- Parameters:
identities
- a consumer that will call methods onIdentityDescription.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.
-