public static interface EnableMetricsCollectionRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
| Modifier and Type | Method and Description |
|---|---|
EnableMetricsCollectionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
EnableMetricsCollectionRequest.Builder |
granularity(String granularity)
The granularity to associate with the metrics to collect.
|
EnableMetricsCollectionRequest.Builder |
metrics(Collection<String> metrics)
Specifies which group-level metrics to start collecting.
|
EnableMetricsCollectionRequest.Builder |
metrics(String... metrics)
Specifies which group-level metrics to start collecting.
|
EnableMetricsCollectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
EnableMetricsCollectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildEnableMetricsCollectionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.EnableMetricsCollectionRequest.Builder metrics(Collection<String> metrics)
Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
The instance weighting feature supports the following additional metrics:
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
The warm pools feature supports the following additional metrics:
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are enabled.
metrics - Specifies which group-level metrics to start collecting. You can specify one or more of the following
metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
The instance weighting feature supports the following additional metrics:
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
The warm pools feature supports the following additional metrics:
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are enabled.
EnableMetricsCollectionRequest.Builder metrics(String... metrics)
Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
The instance weighting feature supports the following additional metrics:
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
The warm pools feature supports the following additional metrics:
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are enabled.
metrics - Specifies which group-level metrics to start collecting. You can specify one or more of the following
metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
The instance weighting feature supports the following additional metrics:
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
The warm pools feature supports the following additional metrics:
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are enabled.
EnableMetricsCollectionRequest.Builder granularity(String granularity)
The granularity to associate with the metrics to collect. The only valid value is 1Minute.
granularity - The granularity to associate with the metrics to collect. The only valid value is 1Minute
.EnableMetricsCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderEnableMetricsCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.