public class ExecutePolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
ExecutePolicy operation.
Runs the policy you create for your Auto Scaling group in PutScalingPolicy.
| コンストラクタと説明 |
|---|
ExecutePolicyRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
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 when the Auto Scaling group is in cooldown. |
java.lang.String |
getPolicyName()
The name or PolicyARN of the policy you want to run.
|
int |
hashCode() |
java.lang.Boolean |
isHonorCooldown()
Set to
True if you want Auto Scaling to reject this
request when 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 when 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 when the Auto Scaling group is in cooldown. |
ExecutePolicyRequest |
withPolicyName(java.lang.String policyName)
The name or PolicyARN of the policy you want to run.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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()
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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object