public class DeleteLoadBalancerListenersRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteLoadBalancerListeners operation.
Deletes listeners from the load balancer for the specified port.
| Constructor and Description |
|---|
DeleteLoadBalancerListenersRequest()
Default constructor for a new DeleteLoadBalancerListenersRequest object.
|
DeleteLoadBalancerListenersRequest(java.lang.String loadBalancerName,
java.util.List<java.lang.Integer> loadBalancerPorts)
Constructs a new DeleteLoadBalancerListenersRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The mnemonic name associated with the load balancer.
|
java.util.List<java.lang.Integer> |
getLoadBalancerPorts()
The client port number(s) of the load balancer listener(s) to be
removed.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer.
|
void |
setLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
The client port number(s) of the load balancer listener(s) to be
removed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerListenersRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer.
|
DeleteLoadBalancerListenersRequest |
withLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
The client port number(s) of the load balancer listener(s) to be
removed.
|
DeleteLoadBalancerListenersRequest |
withLoadBalancerPorts(java.lang.Integer... loadBalancerPorts)
The client port number(s) of the load balancer listener(s) to be
removed.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic DeleteLoadBalancerListenersRequest()
public DeleteLoadBalancerListenersRequest(java.lang.String loadBalancerName,
java.util.List<java.lang.Integer> loadBalancerPorts)
loadBalancerName - The mnemonic name associated with the load
balancer.loadBalancerPorts - The client port number(s) of the load
balancer listener(s) to be removed.public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The mnemonic name associated with the load balancer.public DeleteLoadBalancerListenersRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The mnemonic name associated with the load balancer.public java.util.List<java.lang.Integer> getLoadBalancerPorts()
public void setLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
loadBalancerPorts - The client port number(s) of the load balancer listener(s) to be
removed.public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.lang.Integer... loadBalancerPorts)
Returns a reference to this object so that method calls can be chained together.
loadBalancerPorts - The client port number(s) of the load balancer listener(s) to be
removed.public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
Returns a reference to this object so that method calls can be chained together.
loadBalancerPorts - The client port number(s) of the load balancer listener(s) to be
removed.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object