|
|||||||
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
.
Executes the specified policy.
AmazonAutoScaling.executePolicy(ExecutePolicyRequest)
,
Serialized FormConstructor Summary | |
---|---|
ExecutePolicyRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAutoScalingGroupName()
The name or the Amazon Resource Name (ARN) of the Auto Scaling group. |
java.lang.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. |
java.lang.String |
getPolicyName()
The name or ARN of the policy you want to run. |
int |
hashCode()
|
java.lang.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(java.lang.String autoScalingGroupName)
The name or the Amazon Resource Name (ARN) of the Auto Scaling group. |
void |
setHonorCooldown(java.lang.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(java.lang.String policyName)
The name or ARN 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 the Amazon Resource Name (ARN) of the Auto Scaling group. |
ExecutePolicyRequest |
withHonorCooldown(java.lang.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(java.lang.String policyName)
The name or ARN of the policy you want to run. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecutePolicyRequest()
Method Detail |
---|
public java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name or the Amazon Resource Name (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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name or the Amazon Resource Name (ARN) of the Auto Scaling group.
public java.lang.String getPolicyName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPolicyName(java.lang.String policyName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
policyName
- The name or ARN 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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
policyName
- The name or ARN of the policy you want to run.
public java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |