public class SetLoadBasedAutoScalingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetLoadBasedAutoScalingRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetLoadBasedAutoScalingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
AutoScalingThresholds |
getDownScaling()
An
AutoScalingThresholds object with the downscaling
threshold configuration. |
Boolean |
getEnable()
Enables load-based auto scaling for the layer.
|
String |
getLayerId()
The layer ID.
|
AutoScalingThresholds |
getUpScaling()
An
AutoScalingThresholds object with the upscaling threshold
configuration. |
int |
hashCode() |
Boolean |
isEnable()
Enables load-based auto scaling for the layer.
|
void |
setDownScaling(AutoScalingThresholds downScaling)
An
AutoScalingThresholds object with the downscaling
threshold configuration. |
void |
setEnable(Boolean enable)
Enables load-based auto scaling for the layer.
|
void |
setLayerId(String layerId)
The layer ID.
|
void |
setUpScaling(AutoScalingThresholds upScaling)
An
AutoScalingThresholds object with the upscaling threshold
configuration. |
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(Boolean enable)
Enables load-based auto scaling for the layer.
|
SetLoadBasedAutoScalingRequest |
withLayerId(String layerId)
The layer ID.
|
SetLoadBasedAutoScalingRequest |
withUpScaling(AutoScalingThresholds upScaling)
An
AutoScalingThresholds object with the upscaling threshold
configuration. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLayerId(String layerId)
The layer ID.
layerId - The layer ID.public String getLayerId()
The layer ID.
public SetLoadBasedAutoScalingRequest withLayerId(String layerId)
The layer ID.
layerId - The layer ID.public void setEnable(Boolean enable)
Enables load-based auto scaling for the layer.
enable - Enables load-based auto scaling for the layer.public Boolean getEnable()
Enables load-based auto scaling for the layer.
public SetLoadBasedAutoScalingRequest withEnable(Boolean enable)
Enables load-based auto scaling for the layer.
enable - Enables load-based auto scaling for the layer.public Boolean isEnable()
Enables load-based auto scaling for the layer.
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.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.
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.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.
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.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.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.
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.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.
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.public String toString()
toString in class ObjectObject.toString()public SetLoadBasedAutoScalingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.