com.amazonaws.services.elasticloadbalancing.model
Class DeleteLoadBalancerPolicyRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DeleteLoadBalancerPolicyRequest

public class DeleteLoadBalancerPolicyRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteLoadBalancerPolicy operation.

Deletes a policy from the LoadBalancer. The specified policy must not be enabled for any listeners.

See Also:
AmazonElasticLoadBalancing.deleteLoadBalancerPolicy(DeleteLoadBalancerPolicyRequest)

Constructor Summary
DeleteLoadBalancerPolicyRequest()
          Default constructor for a new DeleteLoadBalancerPolicyRequest object.
DeleteLoadBalancerPolicyRequest(String loadBalancerName, String policyName)
          Constructs a new DeleteLoadBalancerPolicyRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getLoadBalancerName()
          The mnemonic name associated with the LoadBalancer.
 String getPolicyName()
          The mnemonic name for the policy being deleted.
 int hashCode()
           
 void setLoadBalancerName(String loadBalancerName)
          The mnemonic name associated with the LoadBalancer.
 void setPolicyName(String policyName)
          The mnemonic name for the policy being deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName)
          The mnemonic name associated with the LoadBalancer.
 DeleteLoadBalancerPolicyRequest withPolicyName(String policyName)
          The mnemonic name for the policy being deleted.
 
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

DeleteLoadBalancerPolicyRequest

public DeleteLoadBalancerPolicyRequest()
Default constructor for a new DeleteLoadBalancerPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteLoadBalancerPolicyRequest

public DeleteLoadBalancerPolicyRequest(String loadBalancerName,
                                       String policyName)
Constructs a new DeleteLoadBalancerPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.
policyName - The mnemonic name for the policy being deleted.
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.

Returns:
The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.

withLoadBalancerName

public DeleteLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.

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

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyName

public String getPolicyName()
The mnemonic name for the policy being deleted.

Returns:
The mnemonic name for the policy being deleted.

setPolicyName

public void setPolicyName(String policyName)
The mnemonic name for the policy being deleted.

Parameters:
policyName - The mnemonic name for the policy being deleted.

withPolicyName

public DeleteLoadBalancerPolicyRequest withPolicyName(String policyName)
The mnemonic name for the policy being deleted.

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

Parameters:
policyName - The mnemonic name for the policy being deleted.
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.