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