Interface DisableMetricsCollectionRequest.Builder

All Superinterfaces:
AutoScalingRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>, SdkBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DisableMetricsCollectionRequest

public static interface DisableMetricsCollectionRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DisableMetricsCollectionRequest.Builder,DisableMetricsCollectionRequest>
  • Method Details

    • autoScalingGroupName

      DisableMetricsCollectionRequest.Builder autoScalingGroupName(String autoScalingGroupName)

      The name of the Auto Scaling group.

      Parameters:
      autoScalingGroupName - The name of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      Identifies the metrics to disable.

      You can specify one or more of the following metrics:

      • GroupMinSize

      • GroupMaxSize

      • GroupDesiredCapacity

      • GroupInServiceInstances

      • GroupPendingInstances

      • GroupStandbyInstances

      • GroupTerminatingInstances

      • GroupTotalInstances

      • GroupInServiceCapacity

      • GroupPendingCapacity

      • GroupStandbyCapacity

      • GroupTerminatingCapacity

      • GroupTotalCapacity

      • WarmPoolDesiredCapacity

      • WarmPoolWarmedCapacity

      • WarmPoolPendingCapacity

      • WarmPoolTerminatingCapacity

      • WarmPoolTotalCapacity

      • GroupAndWarmPoolDesiredCapacity

      • GroupAndWarmPoolTotalCapacity

      If you omit this property, all metrics are disabled.

      For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

      Parameters:
      metrics - Identifies the metrics to disable.

      You can specify one or more of the following metrics:

      • GroupMinSize

      • GroupMaxSize

      • GroupDesiredCapacity

      • GroupInServiceInstances

      • GroupPendingInstances

      • GroupStandbyInstances

      • GroupTerminatingInstances

      • GroupTotalInstances

      • GroupInServiceCapacity

      • GroupPendingCapacity

      • GroupStandbyCapacity

      • GroupTerminatingCapacity

      • GroupTotalCapacity

      • WarmPoolDesiredCapacity

      • WarmPoolWarmedCapacity

      • WarmPoolPendingCapacity

      • WarmPoolTerminatingCapacity

      • WarmPoolTotalCapacity

      • GroupAndWarmPoolDesiredCapacity

      • GroupAndWarmPoolTotalCapacity

      If you omit this property, all metrics are disabled.

      For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      Identifies the metrics to disable.

      You can specify one or more of the following metrics:

      • GroupMinSize

      • GroupMaxSize

      • GroupDesiredCapacity

      • GroupInServiceInstances

      • GroupPendingInstances

      • GroupStandbyInstances

      • GroupTerminatingInstances

      • GroupTotalInstances

      • GroupInServiceCapacity

      • GroupPendingCapacity

      • GroupStandbyCapacity

      • GroupTerminatingCapacity

      • GroupTotalCapacity

      • WarmPoolDesiredCapacity

      • WarmPoolWarmedCapacity

      • WarmPoolPendingCapacity

      • WarmPoolTerminatingCapacity

      • WarmPoolTotalCapacity

      • GroupAndWarmPoolDesiredCapacity

      • GroupAndWarmPoolTotalCapacity

      If you omit this property, all metrics are disabled.

      For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

      Parameters:
      metrics - Identifies the metrics to disable.

      You can specify one or more of the following metrics:

      • GroupMinSize

      • GroupMaxSize

      • GroupDesiredCapacity

      • GroupInServiceInstances

      • GroupPendingInstances

      • GroupStandbyInstances

      • GroupTerminatingInstances

      • GroupTotalInstances

      • GroupInServiceCapacity

      • GroupPendingCapacity

      • GroupStandbyCapacity

      • GroupTerminatingCapacity

      • GroupTotalCapacity

      • WarmPoolDesiredCapacity

      • WarmPoolWarmedCapacity

      • WarmPoolPendingCapacity

      • WarmPoolTerminatingCapacity

      • WarmPoolTotalCapacity

      • GroupAndWarmPoolDesiredCapacity

      • GroupAndWarmPoolTotalCapacity

      If you omit this property, all metrics are disabled.

      For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DisableMetricsCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.