public static interface DisableMetricsCollectionRequest.Builder extends AutoScalingRequest.Builder, CopyableBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>
Modifier and Type | Method and Description |
---|---|
DisableMetricsCollectionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
|
DisableMetricsCollectionRequest.Builder |
metrics(Collection<String> metrics)
One or more of the following metrics.
|
DisableMetricsCollectionRequest.Builder |
metrics(String... metrics)
One or more of the following metrics.
|
DisableMetricsCollectionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DisableMetricsCollectionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
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
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DisableMetricsCollectionRequest.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.