Interface ListMetricsRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListMetricsRequest.Builder,,ListMetricsRequest> SdkBuilder<ListMetricsRequest.Builder,,ListMetricsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListMetricsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.maxResults(Integer maxResults) The maximum number of items to return in a single page.An opaque pagination token.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.The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see).The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see).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.
-
stage
The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.
- Parameters:
stage- The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stage
The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.
- Parameters:
stage- The offering stage to list metrics from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published lists as empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to return in a single page. Valid range is 1 to 100.
- Parameters:
maxResults- The maximum number of items to return in a single page. Valid range is 1 to 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.
- Parameters:
nextToken- An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).
- Parameters:
scope- Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).
- Parameters:
scope- Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListMetricsRequest.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
ListMetricsRequest.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.
-