|
|||||||
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.DeletePolicyRequest
public class DeletePolicyRequest
Container for the parameters to the DeletePolicy operation
.
Deletes a policy created by PutScalingPolicy
AmazonAutoScaling.deletePolicy(DeletePolicyRequest)
Constructor Summary | |
---|---|
DeletePolicyRequest()
|
Method Summary | |
---|---|
String |
getAutoScalingGroupName()
The name of the Auto Scaling group. |
String |
getPolicyName()
The name or PolicyARN of the policy you want to delete |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group. |
void |
setPolicyName(String policyName)
The name or PolicyARN of the policy you want to delete |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeletePolicyRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group. |
DeletePolicyRequest |
withPolicyName(String policyName)
The name or PolicyARN of the policy you want to delete |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeletePolicyRequest()
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 of the Auto Scaling group.public DeletePolicyRequest 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 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 deletepublic DeletePolicyRequest 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 delete
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |