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(java.lang.String loadBalancerName, java.lang.String policyName)
          Constructs a new DeleteLoadBalancerPolicyRequest object.
 
Method Summary
 java.lang.String getLoadBalancerName()
          The mnemonic name associated with the LoadBalancer.
 java.lang.String getPolicyName()
          The mnemonic name for the policy being deleted.
 void setLoadBalancerName(java.lang.String loadBalancerName)
          The mnemonic name associated with the LoadBalancer.
 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 LoadBalancer.
 DeleteLoadBalancerPolicyRequest withPolicyName(java.lang.String policyName)
          The mnemonic name for the policy being deleted.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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 LoadBalancer. The name must be unique within your AWS account.
policyName - The mnemonic name for the policy being deleted.
Method Detail

getLoadBalancerName

public java.lang.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(java.lang.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(java.lang.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 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()


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