Class CreateLoadBalancerListenersRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.CreateLoadBalancerListenersRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateLoadBalancerListenersRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateLoadBalancerListenersRequest object.CreateLoadBalancerListenersRequest
(String loadBalancerName, List<Listener> listeners) Constructs a new CreateLoadBalancerListenersRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The listeners.The name of the load balancer.int
hashCode()
void
setListeners
(Collection<Listener> listeners) The listeners.void
setLoadBalancerName
(String loadBalancerName) The name of the load balancer.toString()
Returns a string representation of this object; useful for testing and debugging.withListeners
(Listener... listeners) The listeners.withListeners
(Collection<Listener> listeners) The listeners.withLoadBalancerName
(String loadBalancerName) The name of the load balancer.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateLoadBalancerListenersRequest
public CreateLoadBalancerListenersRequest()Default constructor for CreateLoadBalancerListenersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateLoadBalancerListenersRequest
Constructs a new CreateLoadBalancerListenersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
loadBalancerName
- The name of the load balancer.listeners
- The listeners.
-
-
Method Details
-
setLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.
-
getLoadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
withLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getListeners
The listeners.
- Returns:
- The listeners.
-
setListeners
The listeners.
- Parameters:
listeners
- The listeners.
-
withListeners
The listeners.
NOTE: This method appends the values to the existing list (if any). Use
setListeners(java.util.Collection)
orwithListeners(java.util.Collection)
if you want to override the existing values.- Parameters:
listeners
- The listeners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withListeners
The listeners.
- Parameters:
listeners
- The listeners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-