public class AttachLoadBalancerToSubnetsRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
AttachLoadBalancerToSubnetsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name associated with the LoadBalancer.
|
java.util.List<java.lang.String> |
getSubnets()
A list of subnet IDs to add for the LoadBalancer.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer.
|
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to add for the LoadBalancer.
|
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 LoadBalancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to add for the LoadBalancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(java.lang.String... subnets)
A list of subnet IDs to add for the LoadBalancer.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name associated with the LoadBalancer. The name must be unique
within the client 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 LoadBalancer. The name must be unique
within the client 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 LoadBalancer.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 LoadBalancer.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 LoadBalancer.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object