Interface EnabledMetric.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EnabledMetric.Builder,,- EnabledMetric> - SdkBuilder<EnabledMetric.Builder,,- EnabledMetric> - SdkPojo
- Enclosing class:
- EnabledMetric
- 
Method SummaryModifier and TypeMethodDescriptiongranularity(String granularity) The granularity of the metric.One of the following metrics:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
metricOne of the following metrics: - 
 GroupMinSize
- 
 GroupMaxSize
- 
 GroupDesiredCapacity
- 
 GroupInServiceInstances
- 
 GroupPendingInstances
- 
 GroupStandbyInstances
- 
 GroupTerminatingInstances
- 
 GroupTotalInstances
- 
 GroupInServiceCapacity
- 
 GroupPendingCapacity
- 
 GroupStandbyCapacity
- 
 GroupTerminatingCapacity
- 
 GroupTotalCapacity
- 
 WarmPoolDesiredCapacity
- 
 WarmPoolWarmedCapacity
- 
 WarmPoolPendingCapacity
- 
 WarmPoolTerminatingCapacity
- 
 WarmPoolTotalCapacity
- 
 GroupAndWarmPoolDesiredCapacity
- 
 GroupAndWarmPoolTotalCapacity
 For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. - Parameters:
- metric- One of the following metrics:- 
        GroupMinSize
- 
        GroupMaxSize
- 
        GroupDesiredCapacity
- 
        GroupInServiceInstances
- 
        GroupPendingInstances
- 
        GroupStandbyInstances
- 
        GroupTerminatingInstances
- 
        GroupTotalInstances
- 
        GroupInServiceCapacity
- 
        GroupPendingCapacity
- 
        GroupStandbyCapacity
- 
        GroupTerminatingCapacity
- 
        GroupTotalCapacity
- 
        WarmPoolDesiredCapacity
- 
        WarmPoolWarmedCapacity
- 
        WarmPoolPendingCapacity
- 
        WarmPoolTerminatingCapacity
- 
        WarmPoolTotalCapacity
- 
        GroupAndWarmPoolDesiredCapacity
- 
        GroupAndWarmPoolTotalCapacity
 - For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
granularityThe granularity of the metric. The only valid value is 1Minute.- Parameters:
- granularity- The granularity of the metric. The only valid value is- 1Minute.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-