@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachLoadBalancerFromSubnetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DetachLoadBalancerFromSubnets.
| Constructor and Description |
|---|
DetachLoadBalancerFromSubnetsResult() |
| Modifier and Type | Method and Description |
|---|---|
DetachLoadBalancerFromSubnetsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSubnets()
The IDs of the remaining subnets for the load balancer.
|
int |
hashCode() |
void |
setSubnets(Collection<String> subnets)
The IDs of the remaining subnets for the load balancer.
|
String |
toString()
Returns a string representation of this object.
|
DetachLoadBalancerFromSubnetsResult |
withSubnets(Collection<String> subnets)
The IDs of the remaining subnets for the load balancer.
|
DetachLoadBalancerFromSubnetsResult |
withSubnets(String... subnets)
The IDs of the remaining subnets for the load balancer.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getSubnets()
The IDs of the remaining subnets for the load balancer.
public void setSubnets(Collection<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(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(Collection<String> subnets)
The IDs of the remaining subnets for the load balancer.
subnets - The IDs of the remaining subnets for the load balancer.public String toString()
toString in class ObjectObject.toString()public DetachLoadBalancerFromSubnetsResult clone()