public class DeletePolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes the specified Auto Scaling policy.
Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
Constructor and Description |
---|
DeletePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
java.lang.String |
getPolicyName()
The name or Amazon Resource Name (ARN) of the policy.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setPolicyName(java.lang.String policyName)
The name or Amazon Resource Name (ARN) of the policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeletePolicyRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
DeletePolicyRequest |
withPolicyName(java.lang.String policyName)
The name or Amazon Resource Name (ARN) of the policy.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAutoScalingGroupName()
The name of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the Auto Scaling group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public DeletePolicyRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
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 of the Auto Scaling group.
public java.lang.String getPolicyName()
The name or Amazon Resource Name (ARN) of the policy.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name or Amazon Resource Name (ARN) of the policy.
public void setPolicyName(java.lang.String policyName)
The name or Amazon Resource Name (ARN) of the policy.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
policyName
- The name or Amazon Resource Name (ARN) of the policy.
public DeletePolicyRequest withPolicyName(java.lang.String policyName)
The name or Amazon Resource Name (ARN) of the policy.
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 Amazon Resource Name (ARN) of the policy.
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
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.