Interface GetMetricUsageRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetMetricUsageRequest.Builder,,GetMetricUsageRequest> SdkBuilder<GetMetricUsageRequest.Builder,,GetMetricUsageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetMetricUsageRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.Exclusive end of the reporting window.maxResults(Integer maxResults) Maximum number of per-metric usage entries to return in this page (1-25, default 25).Opaque continuation token from a prior response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Required.scope(RequestScope scope) Required.Inclusive start of the reporting window (half-open [startedAt, endedAt)).The end user whose usage is read.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
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.
-
userId
The end user whose usage is read. Do not include personally identifiable or otherwise sensitive data in this value.
- Parameters:
userId- The end user whose usage is read. Do not include personally identifiable or otherwise sensitive data in this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
Inclusive start of the reporting window (half-open [startedAt, endedAt)).
- Parameters:
startedAt- Inclusive start of the reporting window (half-open [startedAt, endedAt)).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
Exclusive end of the reporting window. Must be after startedAt; the window may span at most 744 hours (31 days, the longest monthly billing period). Must not be in the future beyond a small clock-skew allowance.
- Parameters:
endedAt- Exclusive end of the reporting window. Must be after startedAt; the window may span at most 744 hours (31 days, the longest monthly billing period). Must not be in the future beyond a small clock-skew allowance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Required. The environment: live or sandbox. sandbox reads the app's isolated test environment. Usage is kept separately per environment.
- Parameters:
scope- Required. The environment: live or sandbox. sandbox reads the app's isolated test environment. Usage is kept separately per environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Required. The environment: live or sandbox. sandbox reads the app's isolated test environment. Usage is kept separately per environment.
- Parameters:
scope- Required. The environment: live or sandbox. sandbox reads the app's isolated test environment. Usage is kept separately per environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Maximum number of per-metric usage entries to return in this page (1-25, default 25).
- Parameters:
maxResults- Maximum number of per-metric usage entries to return in this page (1-25, default 25).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Opaque continuation token from a prior response. The window (startedAt/endedAt) must be unchanged across a pagination sequence.
- Parameters:
nextToken- Opaque continuation token from a prior response. The window (startedAt/endedAt) must be unchanged across a pagination sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetMetricUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetMetricUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-