public class DescribeVpcsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpcs.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Vpc> |
vpcs
Information about one or more VPCs.
|
Constructor and Description |
---|
DescribeVpcsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Vpc> |
getVpcs()
Information about one or more VPCs.
|
int |
hashCode() |
void |
setVpcs(java.util.Collection<Vpc> vpcs)
Information about one or more VPCs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcsResult |
withVpcs(java.util.Collection<Vpc> vpcs)
Information about one or more VPCs.
|
DescribeVpcsResult |
withVpcs(Vpc... vpcs)
Information about one or more VPCs.
|
private SdkInternalList<Vpc> vpcs
Information about one or more VPCs.
public java.util.List<Vpc> getVpcs()
Information about one or more VPCs.
public void setVpcs(java.util.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(java.util.Collection<Vpc> vpcs)
Information about one or more VPCs.
vpcs
- Information about one or more VPCs.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVpcsResult clone()
clone
in class java.lang.Object