@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVpcsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVpcsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<Vpc> |
getVpcs()
Information about one or more VPCs.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
|
String |
toString()
Returns a string representation of this object.
|
DescribeVpcsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
DescribeVpcsResult |
withVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
|
DescribeVpcsResult |
withVpcs(Vpc... vpcs)
Information about one or more VPCs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Vpc> getVpcs()
Information about one or more VPCs.
public void setVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
vpcs
- Information about one or more VPCs.public DescribeVpcsResult withVpcs(Vpc... vpcs)
Information about one or more VPCs.
NOTE: This method appends the values to the existing list (if any). Use
setVpcs(java.util.Collection)
or withVpcs(java.util.Collection)
if you want to override the
existing values.
vpcs
- Information about one or more VPCs.public DescribeVpcsResult withVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
vpcs
- Information about one or more VPCs.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeVpcsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeVpcsResult clone()