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)
One or more of the following metrics.
|
EnableMetricsCollectionRequest.Builder |
metrics(String... metrics)
One or more of the following metrics.
|
EnableMetricsCollectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
EnableMetricsCollectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
EnableMetricsCollectionRequest.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)
One or more of the following metrics. If you omit this parameter, all metrics are enabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metrics
- One or more of the following metrics. If you omit this parameter, all metrics are enabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
EnableMetricsCollectionRequest.Builder metrics(String... metrics)
One or more of the following metrics. If you omit this parameter, all metrics are enabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metrics
- One or more of the following metrics. If you omit this parameter, all metrics are enabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.EnableMetricsCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.