public static interface EnableMetricsCollectionRequest.Builder extends AutoScalingRequest.Builder, CopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
Modifier and Type | Method and Description |
---|---|
EnableMetricsCollectionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name or ARN 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
EnableMetricsCollectionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
EnableMetricsCollectionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name or ARN of the Auto Scaling group.
autoScalingGroupName
- The name or ARN 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.EnableMetricsCollectionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.