Interface GetAppSubscriptionSummaryResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAppSubscriptionSummaryResponse.Builder,,GetAppSubscriptionSummaryResponse> SdkBuilder<GetAppSubscriptionSummaryResponse.Builder,,GetAppSubscriptionSummaryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAppSubscriptionSummaryResponse
@Mutable
@NotThreadSafe
public static interface GetAppSubscriptionSummaryResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<GetAppSubscriptionSummaryResponse.Builder,GetAppSubscriptionSummaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.The dimension that the summary is grouped by.groupBy(SubscriptionSummaryDimension groupBy) The dimension that the summary is grouped by.groups(Collection<SubscriptionGroup> groups) One row per value of the groupBy dimension (subscriber count per status or per plan).groups(Consumer<SubscriptionGroup.Builder>... groups) One row per value of the groupBy dimension (subscriber count per status or per plan).groups(SubscriptionGroup... groups) One row per value of the groupBy dimension (subscriber count per status or per plan).totalSubscribers(Integer totalSubscribers) The total number of subscribers across the app.The time the summary was last updated.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appId
The ID of the app.
- Parameters:
appId- The ID of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
The dimension that the summary is grouped by.
- Parameters:
groupBy- The dimension that the summary is grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupBy
The dimension that the summary is grouped by.
- Parameters:
groupBy- The dimension that the summary is grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalSubscribers
The total number of subscribers across the app.
- Parameters:
totalSubscribers- The total number of subscribers across the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (subscriber count per status or per plan).
- Parameters:
groups- One row per value of the groupBy dimension (subscriber count per status or per plan).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (subscriber count per status or per plan).
- Parameters:
groups- One row per value of the groupBy dimension (subscriber count per status or per plan).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (subscriber count per status or per plan).
This is a convenience method that creates an instance of theSubscriptionGroup.Builderavoiding the need to create one manually viaSubscriptionGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<SubscriptionGroup>).- Parameters:
groups- a consumer that will call methods onSubscriptionGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The time the summary was last updated.
- Parameters:
updatedAt- The time the summary was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-