Interface GetMetricResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetMetricResponse.Builder,,GetMetricResponse> SdkBuilder<GetMetricResponse.Builder,,GetMetricResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMetricResponse
@Mutable
@NotThreadSafe
public static interface GetMetricResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<GetMetricResponse.Builder,GetMetricResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetMetricResponse.Buildermetric(Consumer<Metric.Builder> metric) The requested metric.The requested metric.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
-
metric
The requested metric.
- Parameters:
metric- The requested metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
The requested metric.
This is a convenience method that creates an instance of theMetric.Builderavoiding the need to create one manually viaMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometric(Metric).- Parameters:
metric- a consumer that will call methods onMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-