Interface GetMetricRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetMetricRequest.Builder,,GetMetricRequest> SdkBuilder<GetMetricRequest.Builder,,GetMetricRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetMetricRequest
@Mutable
@NotThreadSafe
public static interface GetMetricRequest.Builder
extends AppMonetizationRequest.Builder, SdkPojo, CopyableBuilder<GetMetricRequest.Builder,GetMetricRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.The ID of the metric to retrieve.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 read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see).The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the 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.
-
metricId
The ID of the metric to retrieve.
- Parameters:
metricId- The ID of the metric to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stage
The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.
- Parameters:
stage- The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stage
The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.
- Parameters:
stage- The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.- 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.
- Parameters:
scope- Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft.- 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.
- Parameters:
scope- Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetMetricRequest.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
GetMetricRequest.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.
-