com.amazonaws.services.autoscaling.model
Class DeletePolicyRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.DeletePolicyRequest

public class DeletePolicyRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeletePolicy operation.

Deletes a policy created by PutScalingPolicy.

See Also:
AmazonAutoScaling.deletePolicy(DeletePolicyRequest)

Constructor Summary
DeletePolicyRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAutoScalingGroupName()
          The name of the Auto Scaling group.
 String getPolicyName()
          The name or PolicyARN of the policy you want to delete.
 int hashCode()
           
 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, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeletePolicyRequest

public DeletePolicyRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the Auto Scaling group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.

withAutoScalingGroupName

public DeletePolicyRequest withAutoScalingGroupName(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]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyName

public String getPolicyName()
The name or PolicyARN of the policy you want to delete.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name or PolicyARN of the policy you want to delete.

setPolicyName

public void setPolicyName(String policyName)
The name or PolicyARN of the policy you want to delete.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
policyName - The name or PolicyARN of the policy you want to delete.

withPolicyName

public DeletePolicyRequest withPolicyName(String policyName)
The name or PolicyARN of the policy you want to delete.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
policyName - The name or PolicyARN of the policy you want to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.