Interface MetricToRetain.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<MetricToRetain.Builder,,MetricToRetain> SdkBuilder<MetricToRetain.Builder,,MetricToRetain> SdkPojo
- Enclosing class:
 MetricToRetain
public static interface MetricToRetain.Builder
extends SdkPojo, CopyableBuilder<MetricToRetain.Builder,MetricToRetain> 
- 
Method Summary
Modifier and TypeMethodDescriptionWhat is measured by the behavior.default MetricToRetain.BuildermetricDimension(Consumer<MetricDimension.Builder> metricDimension) The dimension of a metric.metricDimension(MetricDimension metricDimension) The dimension of a metric.Methods 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, sdkFields 
- 
Method Details
- 
metric
What is measured by the behavior.
- Parameters:
 metric- What is measured by the behavior.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
metricDimension
The dimension of a metric. This can't be used with custom metrics.
- Parameters:
 metricDimension- The dimension of a metric. This can't be used with custom metrics.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
metricDimension
The dimension of a metric. This can't be used with custom metrics.
This is a convenience method that creates an instance of theMetricDimension.Builderavoiding the need to create one manually viaMetricDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDimension(MetricDimension).- Parameters:
 metricDimension- a consumer that will call methods onMetricDimension.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -