public class DescribeSubnetsResult extends Object implements Serializable
Constructor and Description |
---|
DescribeSubnetsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Subnet> |
getSubnets()
Contains a set of one or more Subnet instances.
|
int |
hashCode() |
void |
setSubnets(Collection<Subnet> subnets)
Contains a set of one or more Subnet instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSubnetsResult |
withSubnets(Collection<Subnet> subnets)
Contains a set of one or more Subnet instances.
|
DescribeSubnetsResult |
withSubnets(Subnet... subnets)
Contains a set of one or more Subnet instances.
|
public List<Subnet> getSubnets()
public void setSubnets(Collection<Subnet> subnets)
subnets
- Contains a set of one or more Subnet instances.public DescribeSubnetsResult withSubnets(Subnet... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- Contains a set of one or more Subnet instances.public DescribeSubnetsResult withSubnets(Collection<Subnet> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- Contains a set of one or more Subnet instances.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.