@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; useful for testing and debugging.
|
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, setSdkResponseMetadata
public 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 Object
Object.toString()
public AttachLoadBalancerToSubnetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.