public class ExecutePolicyRequest extends AmazonWebServiceRequest implements Serializable
ExecutePolicy operation
.
Executes the specified policy.
Constructor and Description |
---|
ExecutePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name or the Amazon Resource Name (ARN) of the Auto Scaling group.
|
Boolean |
getHonorCooldown()
Set to
True if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. |
String |
getPolicyName()
The name or ARN of the policy you want to run.
|
int |
hashCode() |
Boolean |
isHonorCooldown()
Set to
True if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name or the Amazon Resource Name (ARN) of the Auto Scaling group.
|
void |
setHonorCooldown(Boolean honorCooldown)
Set to
True if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. |
void |
setPolicyName(String policyName)
The name or ARN of the policy you want to run.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExecutePolicyRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name or the Amazon Resource Name (ARN) of the Auto Scaling group.
|
ExecutePolicyRequest |
withHonorCooldown(Boolean honorCooldown)
Set to
True if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. |
ExecutePolicyRequest |
withPolicyName(String policyName)
The name or ARN of the policy you want to run.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or the Amazon Resource Name (ARN) of the Auto Scaling group.public ExecutePolicyRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or the Amazon Resource Name (ARN) of the Auto Scaling group.public String getPolicyName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
policyName
- The name or ARN of the policy you want to run.public ExecutePolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
policyName
- The name or ARN of the policy you want to run.public Boolean isHonorCooldown()
True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
public void setHonorCooldown(Boolean honorCooldown)
True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
honorCooldown
- Set to True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
public ExecutePolicyRequest withHonorCooldown(Boolean honorCooldown)
True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
Returns a reference to this object so that method calls can be chained together.
honorCooldown
- Set to True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
public Boolean getHonorCooldown()
True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
True
if you want Auto Scaling to wait for the
cooldown period associated with the Auto Scaling group to complete
before executing the policy. Set to False
if you want
Auto Scaling to circumvent the cooldown period associated with the
Auto Scaling group and execute the policy before the cooldown period
ends.
For information about cooldown period, see Cooldown Period in the Auto Scaling Developer Guide.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.