Package | Description |
---|---|
com.amazonaws.services.autoscaling.model |
Classes modeling the various types represented by AmazonAutoScaling.
|
Modifier and Type | Method and Description |
---|---|
ScalingPolicy |
ScalingPolicy.withAdjustmentType(String adjustmentType)
Specifies whether the
ScalingAdjustment is an absolute
number or a percentage of the current capacity. |
ScalingPolicy |
ScalingPolicy.withAlarms(Alarm... alarms)
A list of CloudWatch Alarms related to the policy.
|
ScalingPolicy |
ScalingPolicy.withAlarms(Collection<Alarm> alarms)
A list of CloudWatch Alarms related to the policy.
|
ScalingPolicy |
ScalingPolicy.withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with this scaling
policy.
|
ScalingPolicy |
ScalingPolicy.withCooldown(Integer cooldown)
The amount of time, in seconds, after a scaling activity completes
before any further trigger-related scaling activities can start.
|
ScalingPolicy |
ScalingPolicy.withMinAdjustmentStep(Integer minAdjustmentStep)
Changes the
DesiredCapacity of the Auto Scaling group by
at least the specified number of instances. |
ScalingPolicy |
ScalingPolicy.withPolicyARN(String policyARN)
The Amazon Resource Name (ARN) of the policy.
|
ScalingPolicy |
ScalingPolicy.withPolicyName(String policyName)
The name of the scaling policy.
|
ScalingPolicy |
ScalingPolicy.withScalingAdjustment(Integer scalingAdjustment)
The number associated with the specified adjustment type.
|
Modifier and Type | Method and Description |
---|---|
List<ScalingPolicy> |
DescribePoliciesResult.getScalingPolicies()
A list of scaling policies.
|
Modifier and Type | Method and Description |
---|---|
DescribePoliciesResult |
DescribePoliciesResult.withScalingPolicies(ScalingPolicy... scalingPolicies)
A list of scaling policies.
|
Modifier and Type | Method and Description |
---|---|
void |
DescribePoliciesResult.setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policies.
|
DescribePoliciesResult |
DescribePoliciesResult.withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policies.
|
Copyright © 2014. All rights reserved.