|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.ExecutePolicyRequest
public class ExecutePolicyRequest
Container for the parameters to the ExecutePolicy operation.
Runs the policy you create for your Auto Scaling group in PutScalingPolicy.
AmazonAutoScaling.executePolicy(ExecutePolicyRequest)| Constructor Summary | |
|---|---|
ExecutePolicyRequest()
|
|
| Method Summary | |
|---|---|
String |
getAutoScalingGroupName()
The name or ARN of the Auto Scaling Group. |
Boolean |
getHonorCooldown()
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
String |
getPolicyName()
The name or PolicyARN of the policy you want to run. |
Boolean |
isHonorCooldown()
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name or ARN of the Auto Scaling Group. |
void |
setHonorCooldown(Boolean honorCooldown)
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
void |
setPolicyName(String policyName)
The name or PolicyARN 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 ARN of the Auto Scaling Group. |
ExecutePolicyRequest |
withHonorCooldown(Boolean honorCooldown)
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
ExecutePolicyRequest |
withPolicyName(String policyName)
The name or PolicyARN of the policy you want to run. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutePolicyRequest()
| Method Detail |
|---|
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 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 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 PolicyARN 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 PolicyARN of the policy you want to run.
public Boolean isHonorCooldown()
public void setHonorCooldown(Boolean honorCooldown)
honorCooldown - Set to True if you want Auto Scaling to reject this request if the
Auto Scaling group is in cooldown.public ExecutePolicyRequest withHonorCooldown(Boolean honorCooldown)
Returns a reference to this object so that method calls can be chained together.
honorCooldown - Set to True if you want Auto Scaling to reject this request if the
Auto Scaling group is in cooldown.
public Boolean getHonorCooldown()
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||