public class AttachLoadBalancerToSubnetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AttachLoadBalancerToSubnets operation.
Adds one or more subnets to the set of configured subnets in the Amazon Virtual Private Cloud (Amazon VPC) for the load balancer.
The load balancers evenly distribute requests across all of the registered subnets. For more information, see Deploy Elastic Load Balancing in Amazon VPC in the Elastic Load Balancing Developer Guide .
NOOP| Constructor and Description |
|---|
AttachLoadBalancerToSubnetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachLoadBalancerToSubnetsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name associated with the load balancer.
|
List<String> |
getSubnets()
A list of subnet IDs to add for the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the load balancer.
|
void |
setSubnets(Collection<String> subnets)
A list of subnet IDs to add for the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachLoadBalancerToSubnetsRequest |
withLoadBalancerName(String loadBalancerName)
The name associated with the load balancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(Collection<String> subnets)
A list of subnet IDs to add for the load balancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(String... subnets)
A list of subnet IDs to add for the load balancer.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName - The name associated with the load balancer. The name must be unique
within the set of load balancers associated with your AWS account.public AttachLoadBalancerToSubnetsRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name associated with the load balancer. The name must be unique
within the set of load balancers associated with your AWS account.public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets - A list of subnet IDs to add for the load balancer. You can add only
one subnet per Availability Zone.public AttachLoadBalancerToSubnetsRequest withSubnets(String... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets - A list of subnet IDs to add for the load balancer. You can add only
one subnet per Availability Zone.public AttachLoadBalancerToSubnetsRequest withSubnets(Collection<String> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets - A list of subnet IDs to add for the load balancer. You can add only
one subnet per Availability Zone.public String toString()
toString in class ObjectObject.toString()public AttachLoadBalancerToSubnetsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.