Package com.amazonaws.services.ec2.model
Class DescribeVpcClassicLinkResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeVpcClassicLinkResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeVpcClassicLinkResult extends Object implements Serializable, Cloneable
Contains the output of DescribeVpcClassicLink.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVpcClassicLinkResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVpcClassicLinkResult
clone()
boolean
equals(Object obj)
List<VpcClassicLink>
getVpcs()
The ClassicLink status of one or more VPCs.int
hashCode()
void
setVpcs(Collection<VpcClassicLink> vpcs)
The ClassicLink status of one or more VPCs.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVpcClassicLinkResult
withVpcs(VpcClassicLink... vpcs)
The ClassicLink status of one or more VPCs.DescribeVpcClassicLinkResult
withVpcs(Collection<VpcClassicLink> vpcs)
The ClassicLink status of one or more VPCs.
-
-
-
Method Detail
-
getVpcs
public List<VpcClassicLink> getVpcs()
The ClassicLink status of one or more VPCs.
- Returns:
- The ClassicLink status of one or more VPCs.
-
setVpcs
public void setVpcs(Collection<VpcClassicLink> vpcs)
The ClassicLink status of one or more VPCs.
- Parameters:
vpcs
- The ClassicLink status of one or more VPCs.
-
withVpcs
public DescribeVpcClassicLinkResult withVpcs(VpcClassicLink... vpcs)
The ClassicLink status of 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
- The ClassicLink status of one or more VPCs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcs
public DescribeVpcClassicLinkResult withVpcs(Collection<VpcClassicLink> vpcs)
The ClassicLink status of one or more VPCs.
- Parameters:
vpcs
- The ClassicLink status of 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 DescribeVpcClassicLinkResult clone()
-
-