public class DescribeInterconnectsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A structure containing a list of interconnects.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Interconnect> |
interconnects
A list of interconnects.
|
Constructor and Description |
---|
DescribeInterconnectsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInterconnectsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Interconnect> |
getInterconnects()
A list of interconnects.
|
int |
hashCode() |
void |
setInterconnects(java.util.Collection<Interconnect> interconnects)
A list of interconnects.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInterconnectsResult |
withInterconnects(java.util.Collection<Interconnect> interconnects)
A list of interconnects.
|
DescribeInterconnectsResult |
withInterconnects(Interconnect... interconnects)
A list of interconnects.
|
private SdkInternalList<Interconnect> interconnects
A list of interconnects.
public java.util.List<Interconnect> getInterconnects()
A list of interconnects.
public void setInterconnects(java.util.Collection<Interconnect> interconnects)
A list of interconnects.
interconnects
- A list of interconnects.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)
or
withInterconnects(java.util.Collection)
if you want to override
the existing values.
interconnects
- A list of interconnects.public DescribeInterconnectsResult withInterconnects(java.util.Collection<Interconnect> interconnects)
A list of interconnects.
interconnects
- A list of interconnects.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 DescribeInterconnectsResult clone()
clone
in class java.lang.Object