com.amazonaws.services.elasticloadbalancing.model
Class DeleteLoadBalancerRequest

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

public class DeleteLoadBalancerRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DeleteLoadBalancer operation.

Deletes the specified load balancer.

If attempting to recreate the load balancer, you must reconfigure all the settings. The DNS name associated with a deleted load balancer will no longer be usable. Once deleted, the name and associated DNS record of the load balancer no longer exist and traffic sent to any of its IP addresses will no longer be delivered to back-end instances.

To successfully call this API, you must provide the same account credentials as were used to create the load balancer.

NOTE: By design, if the load balancer does not exist or has already been deleted, a call to DeleteLoadBalancer action still succeeds.

See Also:
AmazonElasticLoadBalancing.deleteLoadBalancer(DeleteLoadBalancerRequest), Serialized Form

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

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(java.lang.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 load balancer.
Method Detail

getLoadBalancerName

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

Returns:
The name associated with the load balancer.

setLoadBalancerName

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

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

withLoadBalancerName

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

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

Parameters:
loadBalancerName - The name associated with the load balancer.
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.