com.amazonaws.services.opsworks.model

## クラス SetLoadBasedAutoScalingRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.opsworks.model.SetLoadBasedAutoScalingRequest

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

      public class SetLoadBasedAutoScalingRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SetLoadBasedAutoScaling operation`.

  Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances .

  NOTE:To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.

  関連項目:
    `AWSOpsWorks.setLoadBasedAutoScaling(SetLoadBasedAutoScalingRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `AutoScalingThresholds` | `getDownScaling()` An `AutoScalingThresholds` object with the downscaling threshold configuration.
    `java.lang.Boolean` | `getEnable()` Enables load-based auto scaling for the layer.
    `java.lang.String` | `getLayerId()` The layer ID.
    `AutoScalingThresholds` | `getUpScaling()` An `AutoScalingThresholds` object with the upscaling threshold configuration.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnable()` Enables load-based auto scaling for the layer.
    `void` | `setDownScaling(AutoScalingThresholds downScaling)` An `AutoScalingThresholds` object with the downscaling threshold configuration.
    `void` | `setEnable(java.lang.Boolean enable)` Enables load-based auto scaling for the layer.
    `void` | `setLayerId(java.lang.String layerId)` The layer ID.
    `void` | `setUpScaling(AutoScalingThresholds upScaling)` An `AutoScalingThresholds` object with the upscaling threshold configuration.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SetLoadBasedAutoScalingRequest` | `withDownScaling(AutoScalingThresholds downScaling)` An `AutoScalingThresholds` object with the downscaling threshold configuration.
    `SetLoadBasedAutoScalingRequest` | `withEnable(java.lang.Boolean enable)` Enables load-based auto scaling for the layer.
    `SetLoadBasedAutoScalingRequest` | `withLayerId(java.lang.String layerId)` The layer ID.
    `SetLoadBasedAutoScalingRequest` | `withUpScaling(AutoScalingThresholds upScaling)` An `AutoScalingThresholds` object with the upscaling threshold configuration.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### SetLoadBasedAutoScalingRequest

          public SetLoadBasedAutoScalingRequest()

  - ### メソッドの詳細

    - #### 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 SetLoadBasedAutoScalingRequest 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()

      Enables load-based auto scaling for the layer.
      戻り値:
        Enables load-based auto scaling for the layer.

    - #### setEnable

          public void setEnable(java.lang.Boolean enable)

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

    - #### withEnable

          public SetLoadBasedAutoScalingRequest withEnable(java.lang.Boolean enable)

      Enables load-based auto scaling for the layer.

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

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

    - #### getEnable

          public java.lang.Boolean getEnable()

      Enables load-based auto scaling for the layer.
      戻り値:
        Enables load-based auto scaling for the layer.

    - #### getUpScaling

          public AutoScalingThresholds getUpScaling()

      An `AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.
      戻り値:
        An `AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.

    - #### setUpScaling

          public void setUpScaling(AutoScalingThresholds upScaling)

      An `AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.
      パラメータ:
        `upScaling` - An `AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.

    - #### withUpScaling

          public SetLoadBasedAutoScalingRequest withUpScaling(AutoScalingThresholds upScaling)

      An `AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.

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

      パラメータ:
        `upScaling` - An `AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.

    - #### getDownScaling

          public AutoScalingThresholds getDownScaling()

      An `AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified number of instances.
      戻り値:
        An `AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified number of instances.

    - #### setDownScaling

          public void setDownScaling(AutoScalingThresholds downScaling)

      An `AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified number of instances.
      パラメータ:
        `downScaling` - An `AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified number of instances.

    - #### withDownScaling

          public SetLoadBasedAutoScalingRequest withDownScaling(AutoScalingThresholds downScaling)

      An `AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified number of instances.

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

      パラメータ:
        `downScaling` - An `AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified 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`