Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticloadbalancing.model
Class DeleteLoadBalancerListenersRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DeleteLoadBalancerListenersRequest
All Implemented Interfaces:
java.io.Serializable

public class DeleteLoadBalancerListenersRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DeleteLoadBalancerListeners operation.

Deletes listeners from the LoadBalancer for the specified port.

See Also:
AmazonElasticLoadBalancing.deleteLoadBalancerListeners(DeleteLoadBalancerListenersRequest), Serialized Form

Constructor Summary
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.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLoadBalancerName()
          The mnemonic name associated with the LoadBalancer.
 java.util.List<java.lang.Integer> getLoadBalancerPorts()
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 int hashCode()
           
 void setLoadBalancerName(java.lang.String loadBalancerName)
          The mnemonic name associated with the LoadBalancer.
 void setLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
          The client port number(s) of the LoadBalancerListener(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 LoadBalancer.
 DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.util.Collection<java.lang.Integer> loadBalancerPorts)
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.lang.Integer... loadBalancerPorts)
          The client port number(s) of the LoadBalancerListener(s) to be removed.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, 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(java.lang.String loadBalancerName,
                                          java.util.List<java.lang.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 java.lang.String getLoadBalancerName()
The mnemonic name associated with the LoadBalancer.

Returns:
The mnemonic name associated with the LoadBalancer.

setLoadBalancerName

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

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

withLoadBalancerName

public DeleteLoadBalancerListenersRequest withLoadBalancerName(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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