Interface GetAppUsageSummaryResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAppUsageSummaryResponse.Builder,,GetAppUsageSummaryResponse> SdkBuilder<GetAppUsageSummaryResponse.Builder,,GetAppUsageSummaryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAppUsageSummaryResponse
@Mutable
@NotThreadSafe
public static interface GetAppUsageSummaryResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<GetAppUsageSummaryResponse.Builder,GetAppUsageSummaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.End of the reporting window the summary covers.The dimension that the summary is grouped by.groupBy(UsageSummaryDimension groupBy) The dimension that the summary is grouped by.groups(Collection<UsageGroup> groups) One row per value of the groupBy dimension (usage per metric, user, or UTC day).groups(Consumer<UsageGroup.Builder>... groups) One row per value of the groupBy dimension (usage per metric, user, or UTC day).groups(UsageGroup... groups) One row per value of the groupBy dimension (usage per metric, user, or UTC day).Start of the reporting window the summary covers.totalEvents(Long totalEvents) The total number of usage events counted across the window.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:
-
totalEvents
The total number of usage events counted across the window.
- Parameters:
totalEvents- The total number of usage events counted across the window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (usage per metric, user, or UTC day).
- Parameters:
groups- One row per value of the groupBy dimension (usage per metric, user, or UTC day).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (usage per metric, user, or UTC day).
- Parameters:
groups- One row per value of the groupBy dimension (usage per metric, user, or UTC day).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
One row per value of the groupBy dimension (usage per metric, user, or UTC day).
This is a convenience method that creates an instance of theUsageGroup.Builderavoiding the need to create one manually viaUsageGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<UsageGroup>).- Parameters:
groups- a consumer that will call methods onUsageGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
Start of the reporting window the summary covers.
- Parameters:
startedAt- Start of the reporting window the summary covers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
End of the reporting window the summary covers.
- Parameters:
endedAt- End of the reporting window the summary covers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-