public class DeleteLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
DeleteLoadBalancerRequest()
Default constructor for a new DeleteLoadBalancerRequest object.
|
DeleteLoadBalancerRequest(String loadBalancerName)
Constructs a new DeleteLoadBalancerRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteLoadBalancerRequest()
public DeleteLoadBalancerRequest(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The
name must be unique within the client AWS account.public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public DeleteLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.