@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks 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 Stacks stops a specified number
of instances.public String toString()
toString
in class Object
Object.toString()
public SetLoadBasedAutoScalingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.