public class DeletePolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeletePolicy operation.
Deletes a policy created by PutScalingPolicy.
| 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 PolicyARN of the policy you want to delete.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setPolicyName(java.lang.String policyName)
The name or PolicyARN of the policy you want to delete.
|
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 PolicyARN of the policy you want to delete.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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 of the Auto Scaling group.public DeletePolicyRequest 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 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 PolicyARN of the policy you want to delete.public DeletePolicyRequest 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 PolicyARN of the policy you want to delete.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object