|
|||||||
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 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 .
AmazonElasticLoadBalancing.attachLoadBalancerToSubnets(AttachLoadBalancerToSubnetsRequest)
,
Serialized FormConstructor Summary | |
---|---|
AttachLoadBalancerToSubnetsRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLoadBalancerName()
The name associated with the load balancer. |
java.util.List<java.lang.String> |
getSubnets()
A list of subnet IDs to add for the load balancer. |
int |
hashCode()
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer. |
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to add for the load balancer. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachLoadBalancerToSubnetsRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer. |
AttachLoadBalancerToSubnetsRequest |
withSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to add for the load balancer. |
AttachLoadBalancerToSubnetsRequest |
withSubnets(java.lang.String... subnets)
A list of subnet IDs to add for the load balancer. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachLoadBalancerToSubnetsRequest()
Method Detail |
---|
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.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(java.lang.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 java.util.List<java.lang.String> getSubnets()
public void setSubnets(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |