Class SetLoadBasedAutoScalingRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanAnAutoScalingThresholdsobject with the downscaling threshold configuration.Enables load-based auto scaling for the layer.The layer ID.AnAutoScalingThresholdsobject with the upscaling threshold configuration.inthashCode()isEnable()Enables load-based auto scaling for the layer.voidsetDownScaling(AutoScalingThresholds downScaling) AnAutoScalingThresholdsobject with the downscaling threshold configuration.voidEnables load-based auto scaling for the layer.voidsetLayerId(String layerId) The layer ID.voidsetUpScaling(AutoScalingThresholds upScaling) AnAutoScalingThresholdsobject with the upscaling threshold configuration.toString()Returns a string representation of this object; useful for testing and debugging.withDownScaling(AutoScalingThresholds downScaling) AnAutoScalingThresholdsobject 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) AnAutoScalingThresholdsobject with the upscaling threshold configuration.Methods inherited from class 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
-
getLayerId
-
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
AutoScalingThresholdsobject 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- AnAutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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- AnAutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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- AnAutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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
AutoScalingThresholdsobject 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- AnAutoScalingThresholdsobject 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
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-