Interface ListIdentityPoolUsageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoSyncResponse.Builder
,CopyableBuilder<ListIdentityPoolUsageResponse.Builder,
,ListIdentityPoolUsageResponse> SdkBuilder<ListIdentityPoolUsageResponse.Builder,
,ListIdentityPoolUsageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIdentityPoolUsageResponse
public static interface ListIdentityPoolUsageResponse.Builder
extends CognitoSyncResponse.Builder, SdkPojo, CopyableBuilder<ListIdentityPoolUsageResponse.Builder,ListIdentityPoolUsageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionTotal number of identities for the identity pool.identityPoolUsages
(Collection<IdentityPoolUsage> identityPoolUsages) Usage information for the identity pools.identityPoolUsages
(Consumer<IdentityPoolUsage.Builder>... identityPoolUsages) Usage information for the identity pools.identityPoolUsages
(IdentityPoolUsage... identityPoolUsages) Usage information for the identity pools.maxResults
(Integer maxResults) The maximum number of results to be returned.A pagination token for obtaining the next page of results.Methods inherited from interface software.amazon.awssdk.services.cognitosync.model.CognitoSyncResponse.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
-
identityPoolUsages
ListIdentityPoolUsageResponse.Builder identityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages) Usage information for the identity pools.- Parameters:
identityPoolUsages
- Usage information for the identity pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityPoolUsages
Usage information for the identity pools.- Parameters:
identityPoolUsages
- Usage information for the identity pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityPoolUsages
ListIdentityPoolUsageResponse.Builder identityPoolUsages(Consumer<IdentityPoolUsage.Builder>... identityPoolUsages) Usage information for the identity pools. This is a convenience method that creates an instance of theIdentityPoolUsage.Builder
avoiding the need to create one manually viaIdentityPoolUsage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityPoolUsages(List<IdentityPoolUsage>)
.- Parameters:
identityPoolUsages
- a consumer that will call methods onIdentityPoolUsage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to be returned.- Parameters:
maxResults
- The maximum number of results to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
Total number of identities for the identity pool.- Parameters:
count
- Total number of identities for the identity pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token for obtaining the next page of results.- Parameters:
nextToken
- A pagination token for obtaining the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-