public class AttachLoadBalancerToSubnetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AttachLoadBalancerToSubnetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachLoadBalancerToSubnetsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<String> |
getSubnets()
The IDs of the subnets to add for the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setSubnets(Collection<String> subnets)
The IDs of the subnets 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 of the load balancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(Collection<String> subnets)
The IDs of the subnets to add for the load balancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(String... subnets)
The IDs of the subnets to add for the load balancer.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 AttachLoadBalancerToSubnetsRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName - The name of the load balancer.public List<String> getSubnets()
The IDs of the subnets to add for the load balancer. You can add only one subnet per Availability Zone.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets to add for the load balancer. You can add only one subnet per Availability Zone.
subnets - The IDs of the subnets to add for the load balancer. You can add
only one subnet per Availability Zone.public AttachLoadBalancerToSubnetsRequest withSubnets(String... subnets)
The IDs of the subnets to add for the load balancer. You can add only one subnet per Availability Zone.
NOTE: This method appends the values to the existing list (if
any). Use setSubnets(java.util.Collection) or
withSubnets(java.util.Collection) if you want to override the
existing values.
subnets - The IDs of the subnets to add for the load balancer. You can add
only one subnet per Availability Zone.public AttachLoadBalancerToSubnetsRequest withSubnets(Collection<String> subnets)
The IDs of the subnets to add for the load balancer. You can add only one subnet per Availability Zone.
subnets - The IDs of the subnets 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 © 2016. All rights reserved.