com.amazonaws.services.elasticloadbalancing.model
Class DeleteLoadBalancerPolicyRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DeleteLoadBalancerPolicyRequest
All Implemented Interfaces:
java.io.Serializable

public class DeleteLoadBalancerPolicyRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DeleteLoadBalancerPolicy operation.

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

See Also:
AmazonElasticLoadBalancing.deleteLoadBalancerPolicy(DeleteLoadBalancerPolicyRequest), Serialized Form

Constructor Summary
DeleteLoadBalancerPolicyRequest()
          Default constructor for a new DeleteLoadBalancerPolicyRequest object.
DeleteLoadBalancerPolicyRequest(java.lang.String loadBalancerName, java.lang.String policyName)
          Constructs a new DeleteLoadBalancerPolicyRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLoadBalancerName()
          The mnemonic name associated with the load balancer.
 java.lang.String getPolicyName()
          The mnemonic name for the policy being deleted.
 int hashCode()
           
 void setLoadBalancerName(java.lang.String loadBalancerName)
          The mnemonic name associated with the load balancer.
 void setPolicyName(java.lang.String policyName)
          The mnemonic name for the policy being deleted.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteLoadBalancerPolicyRequest withLoadBalancerName(java.lang.String loadBalancerName)
          The mnemonic name associated with the load balancer.
 DeleteLoadBalancerPolicyRequest withPolicyName(java.lang.String policyName)
          The mnemonic name for the policy being deleted.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
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(java.lang.String loadBalancerName,
                                       java.lang.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 load balancer.
policyName - The mnemonic name for the policy being deleted.
Method Detail

getLoadBalancerName

public java.lang.String getLoadBalancerName()
The mnemonic name associated with the load balancer.

Returns:
The mnemonic name associated with the load balancer.

setLoadBalancerName

public void setLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer.

Parameters:
loadBalancerName - The mnemonic name associated with the load balancer.

withLoadBalancerName

public DeleteLoadBalancerPolicyRequest withLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer.

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

Parameters:
loadBalancerName - The mnemonic name associated with the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyName

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

Returns:
The mnemonic name for the policy being deleted.

setPolicyName

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

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

withPolicyName

public DeleteLoadBalancerPolicyRequest withPolicyName(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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