public class DetachLoadBalancerFromSubnetsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
subnets
The IDs of the remaining subnets for the load balancer.
|
Constructor and Description |
---|
DetachLoadBalancerFromSubnetsResult() |
Modifier and Type | Method and Description |
---|---|
DetachLoadBalancerFromSubnetsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getSubnets()
The IDs of the remaining subnets for the load balancer.
|
int |
hashCode() |
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the remaining subnets for the load balancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancerFromSubnetsResult |
withSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the remaining subnets for the load balancer.
|
DetachLoadBalancerFromSubnetsResult |
withSubnets(java.lang.String... subnets)
The IDs of the remaining subnets for the load balancer.
|
private SdkInternalList<java.lang.String> subnets
The IDs of the remaining subnets for the load balancer.
public java.util.List<java.lang.String> getSubnets()
The IDs of the remaining subnets for the load balancer.
public void setSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the remaining subnets for the load balancer.
subnets
- The IDs of the remaining subnets for the load balancer.public DetachLoadBalancerFromSubnetsResult withSubnets(java.lang.String... subnets)
The IDs of the remaining subnets for the load balancer.
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 remaining subnets for the load balancer.public DetachLoadBalancerFromSubnetsResult withSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the remaining subnets for the load balancer.
subnets
- The IDs of the remaining subnets for the load balancer.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DetachLoadBalancerFromSubnetsResult clone()
clone
in class java.lang.Object