Interface GetMetricPolicyResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetMetricPolicyResponse.Builder,,- GetMetricPolicyResponse> - MediaStoreResponse.Builder,- SdkBuilder<GetMetricPolicyResponse.Builder,,- GetMetricPolicyResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetMetricPolicyResponse
@Mutable
@NotThreadSafe
public static interface GetMetricPolicyResponse.Builder
extends MediaStoreResponse.Builder, SdkPojo, CopyableBuilder<GetMetricPolicyResponse.Builder,GetMetricPolicyResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault GetMetricPolicyResponse.BuildermetricPolicy(Consumer<MetricPolicy.Builder> metricPolicy) The metric policy that is associated with the specific container.metricPolicy(MetricPolicy metricPolicy) The metric policy that is associated with the specific container.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.mediastore.model.MediaStoreResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
metricPolicyThe metric policy that is associated with the specific container. - Parameters:
- metricPolicy- The metric policy that is associated with the specific container.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metricPolicyThe metric policy that is associated with the specific container. This is a convenience method that creates an instance of theMetricPolicy.Builderavoiding the need to create one manually viaMetricPolicy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricPolicy(MetricPolicy).- Parameters:
- metricPolicy- a consumer that will call methods on- MetricPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-