Interface EnableMetricsCollectionRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
,SdkBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- EnableMetricsCollectionRequest
public static interface EnableMetricsCollectionRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnableMetricsCollectionRequest.Builder
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.EnableMetricsCollectionRequest.Builder
granularity(String granularity)
The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch.EnableMetricsCollectionRequest.Builder
metrics(String... metrics)
Identifies the metrics to enable.EnableMetricsCollectionRequest.Builder
metrics(Collection<String> metrics)
Identifies the metrics to enable.EnableMetricsCollectionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
EnableMetricsCollectionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFields
-
-
-
-
Method Detail
-
autoScalingGroupName
EnableMetricsCollectionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName
- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
EnableMetricsCollectionRequest.Builder metrics(Collection<String> metrics)
Identifies the metrics to enable.
You can specify one or more of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
GroupInServiceCapacity
-
GroupPendingCapacity
-
GroupStandbyCapacity
-
GroupTerminatingCapacity
-
GroupTotalCapacity
-
WarmPoolDesiredCapacity
-
WarmPoolWarmedCapacity
-
WarmPoolPendingCapacity
-
WarmPoolTerminatingCapacity
-
WarmPoolTotalCapacity
-
GroupAndWarmPoolDesiredCapacity
-
GroupAndWarmPoolTotalCapacity
If you specify
Granularity
and don't specify any metrics, all metrics are enabled.For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- Parameters:
metrics
- Identifies the metrics to enable.You can specify one or more of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
GroupInServiceCapacity
-
GroupPendingCapacity
-
GroupStandbyCapacity
-
GroupTerminatingCapacity
-
GroupTotalCapacity
-
WarmPoolDesiredCapacity
-
WarmPoolWarmedCapacity
-
WarmPoolPendingCapacity
-
WarmPoolTerminatingCapacity
-
WarmPoolTotalCapacity
-
GroupAndWarmPoolDesiredCapacity
-
GroupAndWarmPoolTotalCapacity
If you specify
Granularity
and don't specify any metrics, all metrics are enabled.For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metrics
EnableMetricsCollectionRequest.Builder metrics(String... metrics)
Identifies the metrics to enable.
You can specify one or more of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
GroupInServiceCapacity
-
GroupPendingCapacity
-
GroupStandbyCapacity
-
GroupTerminatingCapacity
-
GroupTotalCapacity
-
WarmPoolDesiredCapacity
-
WarmPoolWarmedCapacity
-
WarmPoolPendingCapacity
-
WarmPoolTerminatingCapacity
-
WarmPoolTotalCapacity
-
GroupAndWarmPoolDesiredCapacity
-
GroupAndWarmPoolTotalCapacity
If you specify
Granularity
and don't specify any metrics, all metrics are enabled.For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- Parameters:
metrics
- Identifies the metrics to enable.You can specify one or more of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
GroupInServiceCapacity
-
GroupPendingCapacity
-
GroupStandbyCapacity
-
GroupTerminatingCapacity
-
GroupTotalCapacity
-
WarmPoolDesiredCapacity
-
WarmPoolWarmedCapacity
-
WarmPoolPendingCapacity
-
WarmPoolTerminatingCapacity
-
WarmPoolTotalCapacity
-
GroupAndWarmPoolDesiredCapacity
-
GroupAndWarmPoolTotalCapacity
If you specify
Granularity
and don't specify any metrics, all metrics are enabled.For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
granularity
EnableMetricsCollectionRequest.Builder granularity(String granularity)
The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
.- Parameters:
granularity
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is1Minute
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableMetricsCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
EnableMetricsCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-