CopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
, SdkBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
public static interface EnableMetricsCollectionRequest.Builder extends CopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
Modifier and Type | Method | 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(String... metrics) |
One or more of the following metrics.
|
EnableMetricsCollectionRequest.Builder |
metrics(Collection<String> metrics) |
One or more of the following metrics.
|
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
NOTE: This method appends the values to the existing list (if any). Use
#setMetrics(java.util.Collection)
or #withMetrics(java.util.Collection)
if you want to
override the existing values.
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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.