|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
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 when the Auto Scaling group is in cooldown. |
String |
getPolicyName()
The name or PolicyARN of the policy you want to run. |
int |
hashCode()
|
Boolean |
isHonorCooldown()
Set to True if you want Auto Scaling to reject this
request when 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 when 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 when 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, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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()
True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.
True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.public void setHonorCooldown(Boolean honorCooldown)
True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.
honorCooldown
- Set to True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.public ExecutePolicyRequest withHonorCooldown(Boolean honorCooldown)
True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.
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 when the Auto Scaling group is in cooldown.
public Boolean getHonorCooldown()
True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.
True
if you want Auto Scaling to reject this
request when the Auto Scaling group is in cooldown.public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |