Class DescribeVirtualInterfacesResult
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.DescribeVirtualInterfacesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeVirtualInterfacesResult extends Object implements Serializable, Cloneable
A structure containing a list of virtual interfaces.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVirtualInterfacesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVirtualInterfacesResult
clone()
boolean
equals(Object obj)
List<VirtualInterface>
getVirtualInterfaces()
A list of virtual interfaces.int
hashCode()
void
setVirtualInterfaces(Collection<VirtualInterface> virtualInterfaces)
A list of virtual interfaces.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVirtualInterfacesResult
withVirtualInterfaces(VirtualInterface... virtualInterfaces)
A list of virtual interfaces.DescribeVirtualInterfacesResult
withVirtualInterfaces(Collection<VirtualInterface> virtualInterfaces)
A list of virtual interfaces.
-
-
-
Method Detail
-
getVirtualInterfaces
public List<VirtualInterface> getVirtualInterfaces()
A list of virtual interfaces.
- Returns:
- A list of virtual interfaces.
-
setVirtualInterfaces
public void setVirtualInterfaces(Collection<VirtualInterface> virtualInterfaces)
A list of virtual interfaces.
- Parameters:
virtualInterfaces
- A list of virtual interfaces.
-
withVirtualInterfaces
public DescribeVirtualInterfacesResult withVirtualInterfaces(VirtualInterface... virtualInterfaces)
A list of virtual interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setVirtualInterfaces(java.util.Collection)
orwithVirtualInterfaces(java.util.Collection)
if you want to override the existing values.- Parameters:
virtualInterfaces
- A list of virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVirtualInterfaces
public DescribeVirtualInterfacesResult withVirtualInterfaces(Collection<VirtualInterface> virtualInterfaces)
A list of virtual interfaces.
- Parameters:
virtualInterfaces
- A list of virtual interfaces.- 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 DescribeVirtualInterfacesResult clone()
-
-