@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 the 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 the 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 the VPCs.
|
DescribeVpcsResult |
withVpcs(Vpc... vpcs)
Information about the VPCs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setVpcs(Collection<Vpc> vpcs)
Information about the VPCs.
vpcs - Information about the VPCs.public DescribeVpcsResult withVpcs(Vpc... vpcs)
Information about the 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 the VPCs.public DescribeVpcsResult withVpcs(Collection<Vpc> vpcs)
Information about the VPCs.
vpcs - Information about the 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 ObjectObject.toString()public DescribeVpcsResult clone()