com.amazonaws.services.opsworks.model

## クラス AutoScalingThresholds

- java.lang.Object
- - com.amazonaws.services.opsworks.model.AutoScalingThresholds

- すべての実装されたインタフェース:
    java.io.Serializable

      public class AutoScalingThresholds
      extends java.lang.Object
      implements java.io.Serializable

  Describes a load-based auto scaling upscaling or downscaling threshold configuration, which specifies when AWS OpsWorks starts or stops load-based instances.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `AutoScalingThresholds()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Double` | `getCpuThreshold()` The CPU utilization threshold, as a percent of the available CPU.
    `java.lang.Integer` | `getIgnoreMetricsTime()` The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events.
    `java.lang.Integer` | `getInstanceCount()` The number of instances to add or remove when the load exceeds a threshold.
    `java.lang.Double` | `getLoadThreshold()` The load threshold.
    `java.lang.Double` | `getMemoryThreshold()` The memory utilization threshold, as a percent of the available memory.
    `java.lang.Integer` | `getThresholdsWaitTime()` The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
    `int` | `hashCode()`
    `void` | `setCpuThreshold(java.lang.Double cpuThreshold)` The CPU utilization threshold, as a percent of the available CPU.
    `void` | `setIgnoreMetricsTime(java.lang.Integer ignoreMetricsTime)` The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events.
    `void` | `setInstanceCount(java.lang.Integer instanceCount)` The number of instances to add or remove when the load exceeds a threshold.
    `void` | `setLoadThreshold(java.lang.Double loadThreshold)` The load threshold.
    `void` | `setMemoryThreshold(java.lang.Double memoryThreshold)` The memory utilization threshold, as a percent of the available memory.
    `void` | `setThresholdsWaitTime(java.lang.Integer thresholdsWaitTime)` The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AutoScalingThresholds` | `withCpuThreshold(java.lang.Double cpuThreshold)` The CPU utilization threshold, as a percent of the available CPU.
    `AutoScalingThresholds` | `withIgnoreMetricsTime(java.lang.Integer ignoreMetricsTime)` The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events.
    `AutoScalingThresholds` | `withInstanceCount(java.lang.Integer instanceCount)` The number of instances to add or remove when the load exceeds a threshold.
    `AutoScalingThresholds` | `withLoadThreshold(java.lang.Double loadThreshold)` The load threshold.
    `AutoScalingThresholds` | `withMemoryThreshold(java.lang.Double memoryThreshold)` The memory utilization threshold, as a percent of the available memory.
    `AutoScalingThresholds` | `withThresholdsWaitTime(java.lang.Integer thresholdsWaitTime)` The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### AutoScalingThresholds

          public AutoScalingThresholds()

  - ### メソッドの詳細

    - #### getInstanceCount

          public java.lang.Integer getInstanceCount()

      The number of instances to add or remove when the load exceeds a threshold.
      戻り値:
        The number of instances to add or remove when the load exceeds a threshold.

    - #### setInstanceCount

          public void setInstanceCount(java.lang.Integer instanceCount)

      The number of instances to add or remove when the load exceeds a threshold.
      パラメータ:
        `instanceCount` - The number of instances to add or remove when the load exceeds a threshold.

    - #### withInstanceCount

          public AutoScalingThresholds withInstanceCount(java.lang.Integer instanceCount)

      The number of instances to add or remove when the load exceeds a threshold.

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

      パラメータ:
        `instanceCount` - The number of instances to add or remove when the load exceeds a threshold.

    - #### getThresholdsWaitTime

          public java.lang.Integer getThresholdsWaitTime()

      The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

      Constraints:
      Range: 1 - 100

      戻り値:
        The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

    - #### setThresholdsWaitTime

          public void setThresholdsWaitTime(java.lang.Integer thresholdsWaitTime)

      The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

      Constraints:
      Range: 1 - 100

      パラメータ:
        `thresholdsWaitTime` - The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

    - #### withThresholdsWaitTime

          public AutoScalingThresholds withThresholdsWaitTime(java.lang.Integer thresholdsWaitTime)

      The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

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

      Constraints:
      Range: 1 - 100

      パラメータ:
        `thresholdsWaitTime` - The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

    - #### getIgnoreMetricsTime

          public java.lang.Integer getIgnoreMetricsTime()

      The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events. For example, AWS OpsWorks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. `IgnoreMetricsTime` allows you to direct AWS OpsWorks to not raise any scaling events long enough to get the new instances online.

      Constraints:
      Range: 1 - 100

      戻り値:
        The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events. For example, AWS OpsWorks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. `IgnoreMetricsTime` allows you to direct AWS OpsWorks to not raise any scaling events long enough to get the new instances online.

    - #### setIgnoreMetricsTime

          public void setIgnoreMetricsTime(java.lang.Integer ignoreMetricsTime)

      The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events. For example, AWS OpsWorks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. `IgnoreMetricsTime` allows you to direct AWS OpsWorks to not raise any scaling events long enough to get the new instances online.

      Constraints:
      Range: 1 - 100

      パラメータ:
        `ignoreMetricsTime` - The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events. For example, AWS OpsWorks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. `IgnoreMetricsTime` allows you to direct AWS OpsWorks to not raise any scaling events long enough to get the new instances online.

    - #### withIgnoreMetricsTime

          public AutoScalingThresholds withIgnoreMetricsTime(java.lang.Integer ignoreMetricsTime)

      The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events. For example, AWS OpsWorks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. `IgnoreMetricsTime` allows you to direct AWS OpsWorks to not raise any scaling events long enough to get the new instances online.

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

      Constraints:
      Range: 1 - 100

      パラメータ:
        `ignoreMetricsTime` - The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks should ignore metrics and not raise any additional scaling events. For example, AWS OpsWorks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. `IgnoreMetricsTime` allows you to direct AWS OpsWorks to not raise any scaling events long enough to get the new instances online.

    - #### getCpuThreshold

          public java.lang.Double getCpuThreshold()

      The CPU utilization threshold, as a percent of the available CPU.
      戻り値:
        The CPU utilization threshold, as a percent of the available CPU.

    - #### setCpuThreshold

          public void setCpuThreshold(java.lang.Double cpuThreshold)

      The CPU utilization threshold, as a percent of the available CPU.
      パラメータ:
        `cpuThreshold` - The CPU utilization threshold, as a percent of the available CPU.

    - #### withCpuThreshold

          public AutoScalingThresholds withCpuThreshold(java.lang.Double cpuThreshold)

      The CPU utilization threshold, as a percent of the available CPU.

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

      パラメータ:
        `cpuThreshold` - The CPU utilization threshold, as a percent of the available CPU.

    - #### getMemoryThreshold

          public java.lang.Double getMemoryThreshold()

      The memory utilization threshold, as a percent of the available memory.
      戻り値:
        The memory utilization threshold, as a percent of the available memory.

    - #### setMemoryThreshold

          public void setMemoryThreshold(java.lang.Double memoryThreshold)

      The memory utilization threshold, as a percent of the available memory.
      パラメータ:
        `memoryThreshold` - The memory utilization threshold, as a percent of the available memory.

    - #### withMemoryThreshold

          public AutoScalingThresholds withMemoryThreshold(java.lang.Double memoryThreshold)

      The memory utilization threshold, as a percent of the available memory.

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

      パラメータ:
        `memoryThreshold` - The memory utilization threshold, as a percent of the available memory.

    - #### getLoadThreshold

          public java.lang.Double getLoadThreshold()

      The load threshold. For more information about how load is computed, see Load (computing).
      戻り値:
        The load threshold. For more information about how load is computed, see Load (computing).

    - #### setLoadThreshold

          public void setLoadThreshold(java.lang.Double loadThreshold)

      The load threshold. For more information about how load is computed, see Load (computing).
      パラメータ:
        `loadThreshold` - The load threshold. For more information about how load is computed, see Load (computing).

    - #### withLoadThreshold

          public AutoScalingThresholds withLoadThreshold(java.lang.Double loadThreshold)

      The load threshold. For more information about how load is computed, see Load (computing).

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

      パラメータ:
        `loadThreshold` - The load threshold. For more information about how load is computed, see Load (computing).

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`