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