@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVpcsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeVpcs.
Constructor and Description |
---|
DescribeVpcsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcsResult |
clone() |
boolean |
equals(Object obj) |
List<Vpc> |
getVpcs()
Information about one or more VPCs.
|
int |
hashCode() |
void |
setVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 String toString()
toString
in class Object
Object.toString()
public DescribeVpcsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.