|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.AttachLoadBalancerToSubnetsRequest
public class AttachLoadBalancerToSubnetsRequest
Container for the parameters to the AttachLoadBalancerToSubnets operation
.
Adds one or more subnets to the set of configured subnets in the VPC for the LoadBalancer.
The Loadbalancers evenly distribute requests across all of the registered subnets.
AmazonElasticLoadBalancing.attachLoadBalancerToSubnets(AttachLoadBalancerToSubnetsRequest)
Constructor Summary | |
---|---|
AttachLoadBalancerToSubnetsRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLoadBalancerName()
The name associated with the LoadBalancer. |
List<String> |
getSubnets()
A list of subnet IDs to add for the LoadBalancer. |
int |
hashCode()
|
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
void |
setSubnets(Collection<String> subnets)
A list of subnet IDs to add for the LoadBalancer. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachLoadBalancerToSubnetsRequest |
withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
AttachLoadBalancerToSubnetsRequest |
withSubnets(Collection<String> subnets)
A list of subnet IDs to add for the LoadBalancer. |
AttachLoadBalancerToSubnetsRequest |
withSubnets(String... subnets)
A list of subnet IDs to add for the LoadBalancer. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachLoadBalancerToSubnetsRequest()
Method Detail |
---|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client 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 LoadBalancer. The name must be unique
within the client AWS account.
public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets
- A list of subnet IDs to add for the LoadBalancer.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 LoadBalancer.
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 LoadBalancer.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |