Package com.amazonaws.services.ec2.model
Class DescribeVpcsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeVpcsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeVpcsResult extends Object implements Serializable, Cloneable
Contains the output of DescribeVpcs.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVpcsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVpcsResultclone()booleanequals(Object obj)List<Vpc>getVpcs()Information about one or more VPCs.inthashCode()voidsetVpcs(Collection<Vpc> vpcs)Information about one or more VPCs.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeVpcsResultwithVpcs(Vpc... vpcs)Information about one or more VPCs.DescribeVpcsResultwithVpcs(Collection<Vpc> vpcs)Information about one or more VPCs.
-
-
-
Method Detail
-
getVpcs
public List<Vpc> getVpcs()
Information about one or more VPCs.
- Returns:
- Information about one or more VPCs.
-
setVpcs
public void setVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
- Parameters:
vpcs- Information about one or more VPCs.
-
withVpcs
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)orwithVpcs(java.util.Collection)if you want to override the existing values.- Parameters:
vpcs- Information about one or more VPCs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcs
public DescribeVpcsResult withVpcs(Collection<Vpc> vpcs)
Information about one or more VPCs.
- Parameters:
vpcs- Information about one or more VPCs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpcsResult clone()
-
-