public class DeleteLoadBalancerListenersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
private SdkInternalList<java.lang.Integer> |
loadBalancerPorts
The client port numbers of the listeners.
|
NOOP
Constructor and Description |
---|
DeleteLoadBalancerListenersRequest()
Default constructor for 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 |
---|---|
DeleteLoadBalancerListenersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.util.List<java.lang.Integer> |
getLoadBalancerPorts()
The client port numbers of the listeners.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
The client port numbers of the listeners.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLoadBalancerListenersRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
DeleteLoadBalancerListenersRequest |
withLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
The client port numbers of the listeners.
|
DeleteLoadBalancerListenersRequest |
withLoadBalancerPorts(java.lang.Integer... loadBalancerPorts)
The client port numbers of the listeners.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String loadBalancerName
The name of the load balancer.
private SdkInternalList<java.lang.Integer> loadBalancerPorts
The client port numbers of the listeners.
public DeleteLoadBalancerListenersRequest()
public DeleteLoadBalancerListenersRequest(java.lang.String loadBalancerName, java.util.List<java.lang.Integer> loadBalancerPorts)
loadBalancerName
- The name of the load balancer.loadBalancerPorts
- The client port numbers of the listeners.public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public DeleteLoadBalancerListenersRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.util.List<java.lang.Integer> getLoadBalancerPorts()
The client port numbers of the listeners.
public void setLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
The client port numbers of the listeners.
loadBalancerPorts
- The client port numbers of the listeners.public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.lang.Integer... loadBalancerPorts)
The client port numbers of the listeners.
NOTE: This method appends the values to the existing list (if
any). Use setLoadBalancerPorts(java.util.Collection)
or
withLoadBalancerPorts(java.util.Collection)
if you want to
override the existing values.
loadBalancerPorts
- The client port numbers of the listeners.public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
The client port numbers of the listeners.
loadBalancerPorts
- The client port numbers of the listeners.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteLoadBalancerListenersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()