Interface EnabledMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnabledMetric.Builder,EnabledMetric>,SdkBuilder<EnabledMetric.Builder,EnabledMetric>,SdkPojo
- Enclosing class:
- EnabledMetric
public static interface EnabledMetric.Builder extends SdkPojo, CopyableBuilder<EnabledMetric.Builder,EnabledMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnabledMetric.Buildergranularity(String granularity)The granularity of the metric.EnabledMetric.Buildermetric(String metric)One of the following metrics:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
metric
EnabledMetric.Builder metric(String 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.
- 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.
-
-
granularity
EnabledMetric.Builder granularity(String granularity)
The granularity of the metric. The only valid value is
1Minute.- Parameters:
granularity- The granularity of the metric. The only valid value is1Minute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-