public static interface GetMetricPolicyResponse.Builder extends MediaStoreResponse.Builder, SdkPojo, CopyableBuilder<GetMetricPolicyResponse.Builder,GetMetricPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetMetricPolicyResponse.Builder |
metricPolicy(Consumer<MetricPolicy.Builder> metricPolicy)
The metric policy that is associated with the specific container.
|
GetMetricPolicyResponse.Builder |
metricPolicy(MetricPolicy metricPolicy)
The metric policy that is associated with the specific container.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMetricPolicyResponse.Builder metricPolicy(MetricPolicy metricPolicy)
The metric policy that is associated with the specific container.
metricPolicy - The metric policy that is associated with the specific container.default GetMetricPolicyResponse.Builder metricPolicy(Consumer<MetricPolicy.Builder> metricPolicy)
The metric policy that is associated with the specific container.
This is a convenience method that creates an instance of theMetricPolicy.Builder avoiding the need
to create one manually via MetricPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to metricPolicy(MetricPolicy).
metricPolicy - a consumer that will call methods on MetricPolicy.BuildermetricPolicy(MetricPolicy)Copyright © 2023. All rights reserved.