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 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(Vpc... vpcs)
Information about one or more VPCs.DescribeVpcsResult
withVpcs(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpcsResult clone()
-
-