|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.opsworks.model.LoadBasedAutoScalingConfiguration
public class LoadBasedAutoScalingConfiguration
Describes a layer's load-based auto scaling configuration.
| Constructor Summary | |
|---|---|
LoadBasedAutoScalingConfiguration()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
AutoScalingThresholds |
getDownScaling()
A LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when OpsWorks
reduces the number of instances. |
Boolean |
getEnable()
Whether load-based auto scaling is enabled for the layer. |
String |
getLayerId()
The layer ID. |
AutoScalingThresholds |
getUpScaling()
A LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances. |
int |
hashCode()
|
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 OpsWorks
reduces the number of instances. |
void |
setEnable(Boolean enable)
Whether load-based auto scaling is enabled for the layer. |
void |
setLayerId(String layerId)
The layer ID. |
void |
setUpScaling(AutoScalingThresholds upScaling)
A LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances. |
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 OpsWorks
reduces the number of instances. |
LoadBasedAutoScalingConfiguration |
withEnable(Boolean enable)
Whether load-based auto scaling is enabled for the layer. |
LoadBasedAutoScalingConfiguration |
withLayerId(String layerId)
The layer ID. |
LoadBasedAutoScalingConfiguration |
withUpScaling(AutoScalingThresholds upScaling)
A LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LoadBasedAutoScalingConfiguration()
| Method Detail |
|---|
public String getLayerId()
public void setLayerId(String layerId)
layerId - The layer ID.public LoadBasedAutoScalingConfiguration withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId - The layer ID.
public Boolean isEnable()
public void setEnable(Boolean enable)
enable - Whether load-based auto scaling is enabled for the layer.public LoadBasedAutoScalingConfiguration withEnable(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 Boolean getEnable()
public AutoScalingThresholds getUpScaling()
LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances.
LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances.public void setUpScaling(AutoScalingThresholds upScaling)
LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances.
upScaling - A LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when OpsWorks
increases the number of instances.public LoadBasedAutoScalingConfiguration withUpScaling(AutoScalingThresholds upScaling)
LoadBasedAutoscalingInstruction object that describes
the upscaling configuration, which defines how and when 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 OpsWorks
increases the number of instances.
public AutoScalingThresholds getDownScaling()
LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when OpsWorks
reduces the number of instances.
LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when OpsWorks
reduces the number of instances.public void setDownScaling(AutoScalingThresholds downScaling)
LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when OpsWorks
reduces the number of instances.
downScaling - A LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when OpsWorks
reduces the number of instances.public LoadBasedAutoScalingConfiguration withDownScaling(AutoScalingThresholds downScaling)
LoadBasedAutoscalingInstruction object that describes
the downscaling configuration, which defines how and when 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 OpsWorks
reduces the number of instances.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||