public class DetachLoadBalancerFromSubnetsRequest extends AmazonWebServiceRequest implements java.io.Serializable
DetachLoadBalancerFromSubnets operation.
Removes subnets from the set of configured subnets in the VPC for the LoadBalancer.
After a subnet is removed all of the EndPoints registered with the LoadBalancer that are in the removed subnet will go into the OutOfService state. When a subnet is removed, the LoadBalancer will balance the traffic among the remaining routable subnets for the LoadBalancer.
| コンストラクタと説明 |
|---|
DetachLoadBalancerFromSubnetsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name associated with the LoadBalancer to be detached.
|
java.util.List<java.lang.String> |
getSubnets()
A list of subnet IDs to remove from the set of configured subnets for
the LoadBalancer.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer to be detached.
|
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to remove from the set of configured subnets for
the LoadBalancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancerFromSubnetsRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer to be detached.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to remove from the set of configured subnets for
the LoadBalancer.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(java.lang.String... subnets)
A list of subnet IDs to remove from the set of configured subnets 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 to be detached. The name
must be unique within the client AWS account.public DetachLoadBalancerFromSubnetsRequest 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 to be detached. 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 remove from the set of configured subnets for
the LoadBalancer.public DetachLoadBalancerFromSubnetsRequest 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 remove from the set of configured subnets for
the LoadBalancer.public DetachLoadBalancerFromSubnetsRequest 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 remove from the set of configured subnets 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