@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 use to retrieve the next page of results.
|
List<Vpc> |
getVpcs()
Information about one or more VPCs.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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 use to retrieve the next page of results.
|
DescribeVpcsResult |
withVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
|
DescribeVpcsResult |
withVpcs(Vpc... vpcs)
Information about one or more VPCs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
null when there are no
more results to return.public DescribeVpcsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeVpcsResult clone()
Copyright © 2022. All rights reserved.