|
|||||||
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 | |
---|---|
java.lang.String |
getAutoScalingGroupName()
The name or ARN of the Auto Scaling Group. |
java.lang.Boolean |
getHonorCooldown()
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
java.lang.String |
getPolicyName()
The name or PolicyARN of the policy you want to run. |
java.lang.Boolean |
isHonorCooldown()
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or ARN of the Auto Scaling Group. |
void |
setHonorCooldown(java.lang.Boolean honorCooldown)
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
void |
setPolicyName(java.lang.String policyName)
The name or PolicyARN of the policy you want to run. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ExecutePolicyRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or ARN of the Auto Scaling Group. |
ExecutePolicyRequest |
withHonorCooldown(java.lang.Boolean honorCooldown)
Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. |
ExecutePolicyRequest |
withPolicyName(java.lang.String policyName)
The name or PolicyARN of the policy you want to run. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecutePolicyRequest()
Method Detail |
---|
public java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name or ARN of the Auto Scaling Group.public ExecutePolicyRequest withAutoScalingGroupName(java.lang.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 java.lang.String getPolicyName()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setPolicyName(java.lang.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(java.lang.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 java.lang.Boolean isHonorCooldown()
public void setHonorCooldown(java.lang.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(java.lang.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 java.lang.Boolean getHonorCooldown()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |