com.amazonaws.services.elasticloadbalancing.model
Class DeleteLoadBalancerListenersRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DeleteLoadBalancerListenersRequest

public class DeleteLoadBalancerListenersRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteLoadBalancerListeners operation.

Deletes listeners from the LoadBalancer for the specified port.

See Also:
AmazonElasticLoadBalancing.deleteLoadBalancerListeners(DeleteLoadBalancerListenersRequest)

Constructor Summary
DeleteLoadBalancerListenersRequest()
          Default constructor for a new DeleteLoadBalancerListenersRequest object.
DeleteLoadBalancerListenersRequest(String loadBalancerName, List<Integer> loadBalancerPorts)
          Constructs a new DeleteLoadBalancerListenersRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getLoadBalancerName()
          The mnemonic name associated with the LoadBalancer.
 List<Integer> getLoadBalancerPorts()
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 int hashCode()
           
 void setLoadBalancerName(String loadBalancerName)
          The mnemonic name associated with the LoadBalancer.
 void setLoadBalancerPorts(Collection<Integer> loadBalancerPorts)
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteLoadBalancerListenersRequest withLoadBalancerName(String loadBalancerName)
          The mnemonic name associated with the LoadBalancer.
 DeleteLoadBalancerListenersRequest withLoadBalancerPorts(Collection<Integer> loadBalancerPorts)
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 DeleteLoadBalancerListenersRequest withLoadBalancerPorts(Integer... loadBalancerPorts)
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteLoadBalancerListenersRequest

public DeleteLoadBalancerListenersRequest()
Default constructor for a new DeleteLoadBalancerListenersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteLoadBalancerListenersRequest

public DeleteLoadBalancerListenersRequest(String loadBalancerName,
                                          List<Integer> loadBalancerPorts)
Constructs a new DeleteLoadBalancerListenersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer.
loadBalancerPorts - The client port number(s) of the LoadBalancerListener(s) to be removed.
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The mnemonic name associated with the LoadBalancer.

Returns:
The mnemonic name associated with the LoadBalancer.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer.

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer.

withLoadBalancerName

public DeleteLoadBalancerListenersRequest withLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer.

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

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getLoadBalancerPorts

public List<Integer> getLoadBalancerPorts()
The client port number(s) of the LoadBalancerListener(s) to be removed.

Returns:
The client port number(s) of the LoadBalancerListener(s) to be removed.

setLoadBalancerPorts

public void setLoadBalancerPorts(Collection<Integer> loadBalancerPorts)
The client port number(s) of the LoadBalancerListener(s) to be removed.

Parameters:
loadBalancerPorts - The client port number(s) of the LoadBalancerListener(s) to be removed.

withLoadBalancerPorts

public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(Integer... loadBalancerPorts)
The client port number(s) of the LoadBalancerListener(s) to be removed.

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

Parameters:
loadBalancerPorts - The client port number(s) of the LoadBalancerListener(s) to be removed.
Returns:
A reference to this updated object so that method calls can be chained together.

withLoadBalancerPorts

public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(Collection<Integer> loadBalancerPorts)
The client port number(s) of the LoadBalancerListener(s) to be removed.

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

Parameters:
loadBalancerPorts - The client port number(s) of the LoadBalancerListener(s) to be removed.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.