com.amazonaws.services.elasticloadbalancing.model
Class DeleteLoadBalancerRequest

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

public class DeleteLoadBalancerRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteLoadBalancer operation.

Deletes the specified LoadBalancer.

If attempting to recreate the LoadBalancer, the client must reconfigure all the settings. The DNS name associated with a deleted LoadBalancer will no longer be usable. Once deleted, the name and associated DNS record of the LoadBalancer no longer exist and traffic sent to any of its IP addresses will no longer be delivered to client instances. The client will not receive the same DNS name even if a new LoadBalancer with same LoadBalancerName is created.

To successfully call this API, the client must provide the same account credentials as were used to create the LoadBalancer.

NOTE: By design, if the LoadBalancer does not exist or has already been deleted, DeleteLoadBalancer still succeeds.

See Also:
AmazonElasticLoadBalancing.deleteLoadBalancer(DeleteLoadBalancerRequest)

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

DeleteLoadBalancerRequest

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


DeleteLoadBalancerRequest

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

Parameters:
loadBalancerName - The name associated with the LoadBalancer. The name must be unique within the client AWS account.
Method Detail

getLoadBalancerName

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

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

setLoadBalancerName

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

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

withLoadBalancerName

public DeleteLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. The name must be unique within the client AWS account.

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

Parameters:
loadBalancerName - The name associated with the LoadBalancer. The name must be unique within the client AWS account.
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.