Interface DisableMetricsCollectionRequest.Builder

    • Method Detail

      • 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

        DisableMetricsCollectionRequest.Builder metrics​(Collection<String> 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 Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

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

        DisableMetricsCollectionRequest.Builder metrics​(String... 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 Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

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