@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLoadBalancerListenersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for CreateLoadBalancerListeners.
NOOP
Constructor and Description |
---|
CreateLoadBalancerListenersRequest()
Default constructor for CreateLoadBalancerListenersRequest object.
|
CreateLoadBalancerListenersRequest(String loadBalancerName,
List<Listener> listeners)
Constructs a new CreateLoadBalancerListenersRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancerListenersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Listener> |
getListeners()
The listeners.
|
String |
getLoadBalancerName()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateLoadBalancerListenersRequest |
withListeners(Collection<Listener> listeners)
The listeners.
|
CreateLoadBalancerListenersRequest |
withListeners(Listener... listeners)
The listeners.
|
CreateLoadBalancerListenersRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateLoadBalancerListenersRequest()
public CreateLoadBalancerListenersRequest(String loadBalancerName, List<Listener> listeners)
loadBalancerName
- The name of the load balancer.listeners
- The listeners.public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public CreateLoadBalancerListenersRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setListeners(Collection<Listener> listeners)
The listeners.
listeners
- The listeners.public CreateLoadBalancerListenersRequest withListeners(Listener... listeners)
The listeners.
NOTE: This method appends the values to the existing list (if any). Use
setListeners(java.util.Collection)
or withListeners(java.util.Collection)
if you want to
override the existing values.
listeners
- The listeners.public CreateLoadBalancerListenersRequest withListeners(Collection<Listener> listeners)
The listeners.
listeners
- The listeners.public String toString()
toString
in class Object
Object.toString()
public CreateLoadBalancerListenersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.