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 DescribeInterconnectsResult
clone()
boolean
equals(Object obj)
List<Interconnect>
getInterconnects()
A list of interconnects.int
hashCode()
void
setInterconnects(Collection<Interconnect> interconnects)
A list of interconnects.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeInterconnectsResult
withInterconnects(Interconnect... interconnects)
A list of interconnects.DescribeInterconnectsResult
withInterconnects(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeInterconnectsResult clone()
-
-