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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListIdentitiesResponse.Builderidentities(Collection<IdentityDescription> identities)An object containing a set of identities and associated mappings.ListIdentitiesResponse.Builderidentities(Consumer<IdentityDescription.Builder>... identities)An object containing a set of identities and associated mappings.ListIdentitiesResponse.Builderidentities(IdentityDescription... identities)An object containing a set of identities and associated mappings.ListIdentitiesResponse.BuilderidentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.ListIdentitiesResponse.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
-
identityPoolId
ListIdentitiesResponse.Builder identityPoolId(String 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
ListIdentitiesResponse.Builder identities(Collection<IdentityDescription> 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
ListIdentitiesResponse.Builder identities(IdentityDescription... 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
ListIdentitiesResponse.Builder identities(Consumer<IdentityDescription.Builder>... identities)
An object containing a set of identities and associated mappings.
This is a convenience method that creates an instance of theIdentityDescription.Builderavoiding the need to create one manually viaIdentityDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#identities(List.) - 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:
#identities(java.util.Collection)
-
nextToken
ListIdentitiesResponse.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.
-
-