Class AttachLoadBalancerToSubnetsResult
- java.lang.Object
-
- com.amazonaws.services.elasticloadbalancing.model.AttachLoadBalancerToSubnetsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AttachLoadBalancerToSubnetsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachLoadBalancerToSubnetsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... subnets)
The IDs of the subnets attached to the load balancer.AttachLoadBalancerToSubnetsResult
withSubnets(Collection<String> subnets)
The IDs of the subnets attached to the load balancer.
-
-
-
Method Detail
-
getSubnets
public List<String> getSubnets()
The IDs of the subnets attached to the load balancer.
- Returns:
- The IDs of the subnets attached to the load balancer.
-
setSubnets
public void setSubnets(Collection<String> subnets)
The IDs of the subnets attached to the load balancer.
- Parameters:
subnets
- The IDs of the subnets attached to the load balancer.
-
withSubnets
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)
orwithSubnets(java.util.Collection)
if you want to override the existing values.- Parameters:
subnets
- The IDs of the subnets attached to the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnets
public AttachLoadBalancerToSubnetsResult withSubnets(Collection<String> subnets)
The IDs of the subnets attached to the load balancer.
- Parameters:
subnets
- The IDs of the subnets attached to the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AttachLoadBalancerToSubnetsResult clone()
-
-