Class DescribeInterconnectsResult
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.DescribeInterconnectsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeInterconnectsResult extends Object implements Serializable, Cloneable
A structure containing a list of interconnects.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeInterconnectsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeInterconnectsResultclone()booleanequals(Object obj)List<Interconnect>getInterconnects()A list of interconnects.inthashCode()voidsetInterconnects(Collection<Interconnect> interconnects)A list of interconnects.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeInterconnectsResultwithInterconnects(Interconnect... interconnects)A list of interconnects.DescribeInterconnectsResultwithInterconnects(Collection<Interconnect> interconnects)A list of interconnects.
-
-
-
Method Detail
-
getInterconnects
public List<Interconnect> getInterconnects()
A list of interconnects.
- Returns:
- A list of interconnects.
-
setInterconnects
public void setInterconnects(Collection<Interconnect> interconnects)
A list of interconnects.
- Parameters:
interconnects- A list of interconnects.
-
withInterconnects
public DescribeInterconnectsResult withInterconnects(Interconnect... interconnects)
A list of interconnects.
NOTE: This method appends the values to the existing list (if any). Use
setInterconnects(java.util.Collection)orwithInterconnects(java.util.Collection)if you want to override the existing values.- Parameters:
interconnects- A list of interconnects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInterconnects
public DescribeInterconnectsResult withInterconnects(Collection<Interconnect> interconnects)
A list of interconnects.
- Parameters:
interconnects- A list of interconnects.- 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 DescribeInterconnectsResult clone()
-
-