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. |
public java.lang.String getLayerId()
public void setLayerId(java.lang.String layerId)
layerId - The layer ID.public LoadBasedAutoScalingConfiguration withLayerId(java.lang.String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId - The layer ID.public java.lang.Boolean isEnable()
public void setEnable(java.lang.Boolean enable)
enable - Whether load-based auto scaling is enabled for the layer.public LoadBasedAutoScalingConfiguration withEnable(java.lang.Boolean enable)
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.public java.lang.Boolean getEnable()
public AutoScalingThresholds getUpScaling()
LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when AWS OpsWorks
increases the number of instances.LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when AWS OpsWorks
increases the number of instances.public void setUpScaling(AutoScalingThresholds upScaling)
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.public LoadBasedAutoScalingConfiguration withUpScaling(AutoScalingThresholds upScaling)
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.public AutoScalingThresholds getDownScaling()
LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when AWS OpsWorks
reduces the number of instances.LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when AWS OpsWorks
reduces the number of instances.public void setDownScaling(AutoScalingThresholds downScaling)
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.public LoadBasedAutoScalingConfiguration withDownScaling(AutoScalingThresholds downScaling)
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.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object