CopyableBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>
, SdkBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>
public static interface DisableMetricsCollectionRequest.Builder extends CopyableBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>
Modifier and Type | Method | Description |
---|---|---|
DisableMetricsCollectionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName) |
The name or Amazon Resource Name (ARN) of the group.
|
DisableMetricsCollectionRequest.Builder |
metrics(String... metrics) |
One or more of the following metrics.
|
DisableMetricsCollectionRequest.Builder |
metrics(Collection<String> metrics) |
One or more of the following metrics.
|
copy
apply, build
DisableMetricsCollectionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the group.DisableMetricsCollectionRequest.Builder metrics(Collection<String> metrics)
One or more of the following metrics. If you omit this parameter, all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metrics
- One or more of the following metrics. If you omit this parameter, all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
DisableMetricsCollectionRequest.Builder metrics(String... metrics)
One or more of the following metrics. If you omit this parameter, all metrics are disabled.
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 disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.