Class SetLoadBasedAutoScalingRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
AnAutoScalingThresholds
object with the downscaling threshold configuration.Enables load-based auto scaling for the layer.The layer ID.AnAutoScalingThresholds
object with the upscaling threshold configuration.int
hashCode()
isEnable()
Enables load-based auto scaling for the layer.void
setDownScaling
(AutoScalingThresholds downScaling) AnAutoScalingThresholds
object with the downscaling threshold configuration.void
Enables load-based auto scaling for the layer.void
setLayerId
(String layerId) The layer ID.void
setUpScaling
(AutoScalingThresholds upScaling) AnAutoScalingThresholds
object with the upscaling threshold configuration.toString()
Returns a string representation of this object; useful for testing and debugging.withDownScaling
(AutoScalingThresholds downScaling) AnAutoScalingThresholds
object with the downscaling threshold configuration.withEnable
(Boolean enable) Enables load-based auto scaling for the layer.withLayerId
(String layerId) The layer ID.withUpScaling
(AutoScalingThresholds upScaling) AnAutoScalingThresholds
object with the upscaling threshold configuration.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SetLoadBasedAutoScalingRequest
public SetLoadBasedAutoScalingRequest()
-
-
Method Details
-
setLayerId
The layer ID.
- Parameters:
layerId
- The layer ID.
-
getLayerId
The layer ID.
- Returns:
- The layer ID.
-
withLayerId
The layer ID.
- Parameters:
layerId
- The layer ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnable
Enables load-based auto scaling for the layer.
- Parameters:
enable
- Enables load-based auto scaling for the layer.
-
getEnable
Enables load-based auto scaling for the layer.
- Returns:
- Enables load-based auto scaling for the layer.
-
withEnable
Enables load-based auto scaling for the layer.
- Parameters:
enable
- Enables load-based auto scaling for the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnable
Enables load-based auto scaling for the layer.
- Returns:
- Enables load-based auto scaling for the layer.
-
setUpScaling
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.- Parameters:
upScaling
- AnAutoScalingThresholds
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.
-
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.- Returns:
- 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
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.- Parameters:
upScaling
- AnAutoScalingThresholds
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:
- Returns a reference to this object so that method calls can be chained together.
-
setDownScaling
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.- Parameters:
downScaling
- AnAutoScalingThresholds
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.
-
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.- Returns:
- 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
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.- Parameters:
downScaling
- AnAutoScalingThresholds
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:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-