com.amazonaws.services.opsworks.model

## クラス LoadBasedAutoScalingConfiguration

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

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

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

  Describes a layer's load-based auto scaling configuration.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `AutoScalingThresholds` | `getDownScaling()` A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.
    `java.lang.Boolean` | `getEnable()` Whether load-based auto scaling is enabled for the layer.
    `java.lang.String` | `getLayerId()` The layer ID.
    `AutoScalingThresholds` | `getUpScaling()` A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnable()` Whether load-based auto scaling is enabled for the layer.
    `void` | `setDownScaling(AutoScalingThresholds downScaling)` A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.
    `void` | `setEnable(java.lang.Boolean enable)` Whether load-based auto scaling is enabled for the layer.
    `void` | `setLayerId(java.lang.String layerId)` The layer ID.
    `void` | `setUpScaling(AutoScalingThresholds upScaling)` A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `LoadBasedAutoScalingConfiguration` | `withDownScaling(AutoScalingThresholds downScaling)` A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.
    `LoadBasedAutoScalingConfiguration` | `withEnable(java.lang.Boolean enable)` Whether load-based auto scaling is enabled for the layer.
    `LoadBasedAutoScalingConfiguration` | `withLayerId(java.lang.String layerId)` The layer ID.
    `LoadBasedAutoScalingConfiguration` | `withUpScaling(AutoScalingThresholds upScaling)` A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.

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

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

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

    - #### LoadBasedAutoScalingConfiguration

          public LoadBasedAutoScalingConfiguration()

  - ### メソッドの詳細

    - #### getLayerId

          public java.lang.String getLayerId()

      The layer ID.
      戻り値:
        The layer ID.

    - #### setLayerId

          public void setLayerId(java.lang.String layerId)

      The layer ID.
      パラメータ:
        `layerId` - The layer ID.

    - #### withLayerId

          public LoadBasedAutoScalingConfiguration withLayerId(java.lang.String layerId)

      The layer ID.

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

      パラメータ:
        `layerId` - The layer ID.

    - #### isEnable

          public java.lang.Boolean isEnable()

      Whether load-based auto scaling is enabled for the layer.
      戻り値:
        Whether load-based auto scaling is enabled for the layer.

    - #### setEnable

          public void setEnable(java.lang.Boolean enable)

      Whether load-based auto scaling is enabled for the layer.
      パラメータ:
        `enable` - Whether load-based auto scaling is enabled for the layer.

    - #### withEnable

          public LoadBasedAutoScalingConfiguration withEnable(java.lang.Boolean enable)

      Whether load-based auto scaling is enabled for the layer.

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

      パラメータ:
        `enable` - Whether load-based auto scaling is enabled for the layer.

    - #### getEnable

          public java.lang.Boolean getEnable()

      Whether load-based auto scaling is enabled for the layer.
      戻り値:
        Whether load-based auto scaling is enabled for the layer.

    - #### getUpScaling

          public AutoScalingThresholds getUpScaling()

      A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.
      戻り値:
        A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.

    - #### setUpScaling

          public void setUpScaling(AutoScalingThresholds upScaling)

      A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.
      パラメータ:
        `upScaling` - A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.

    - #### withUpScaling

          public LoadBasedAutoScalingConfiguration withUpScaling(AutoScalingThresholds upScaling)

      A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.

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

      パラメータ:
        `upScaling` - A `LoadBasedAutoscalingInstruction` object that describes the upscaling configuration, which defines how and when AWS OpsWorks increases the number of instances.

    - #### getDownScaling

          public AutoScalingThresholds getDownScaling()

      A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.
      戻り値:
        A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.

    - #### setDownScaling

          public void setDownScaling(AutoScalingThresholds downScaling)

      A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.
      パラメータ:
        `downScaling` - A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.

    - #### withDownScaling

          public LoadBasedAutoScalingConfiguration withDownScaling(AutoScalingThresholds downScaling)

      A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.

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

      パラメータ:
        `downScaling` - A `LoadBasedAutoscalingInstruction` object that describes the downscaling configuration, which defines how and when AWS OpsWorks reduces the number of instances.

    - #### 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`