public class DeleteLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable
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.
NOOP
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 load balancer.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name associated with the load balancer.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteLoadBalancerRequest()
public DeleteLoadBalancerRequest(String loadBalancerName)
loadBalancerName
- The name associated with the load balancer.public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the load balancer.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 load balancer.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.