Interface GetAppRevenueSummaryResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAppRevenueSummaryResponse.Builder,,GetAppRevenueSummaryResponse> SdkBuilder<GetAppRevenueSummaryResponse.Builder,,GetAppRevenueSummaryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAppRevenueSummaryResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.The ISO 4217 currency code of the revenue amounts.The ISO 4217 currency code of the revenue amounts.The dimension that the summary is grouped by.groupBy(RevenueSummaryDimension groupBy) The dimension that the summary is grouped by.groups(Collection<RevenueGroup> groups) One row per value of the groupBy dimension (revenue per plan).groups(Consumer<RevenueGroup.Builder>... groups) One row per value of the groupBy dimension (revenue per plan).groups(RevenueGroup... groups) One row per value of the groupBy dimension (revenue per plan).The billing period, in "YYYY-MM" form, that the summary covers.subscriptionRevenue(String subscriptionRevenue) The subscription revenue for the period.totalRevenue(String totalRevenue) The total revenue for the period, as the sum of subscription and usage revenue.The time the summary was last updated.usageRevenue(String usageRevenue) The usage-based revenue for the period.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.
-
period
The billing period, in "YYYY-MM" form, that the summary covers.
- Parameters:
period- The billing period, in "YYYY-MM" form, that the summary covers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
The ISO 4217 currency code of the revenue amounts.
- Parameters:
currency- The ISO 4217 currency code of the revenue amounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The ISO 4217 currency code of the revenue amounts.
- Parameters:
currency- The ISO 4217 currency code of the revenue amounts.- 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:
-
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:
-
totalRevenue
The total revenue for the period, as the sum of subscription and usage revenue.
- Parameters:
totalRevenue- The total revenue for the period, as the sum of subscription and usage revenue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionRevenue
The subscription revenue for the period.
- Parameters:
subscriptionRevenue- The subscription revenue for the period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageRevenue
The usage-based revenue for the period.
- Parameters:
usageRevenue- The usage-based revenue for the period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (revenue per plan).
- Parameters:
groups- One row per value of the groupBy dimension (revenue 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 (revenue per plan).
- Parameters:
groups- One row per value of the groupBy dimension (revenue 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 (revenue per plan).
This is a convenience method that creates an instance of theRevenueGroup.Builderavoiding the need to create one manually viaRevenueGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<RevenueGroup>).- Parameters:
groups- a consumer that will call methods onRevenueGroup.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.
-