@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInterconnectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInterconnectsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInterconnectsResult |
clone() |
boolean |
equals(Object obj) |
List<Interconnect> |
getInterconnects()
The interconnects.
|
int |
hashCode() |
void |
setInterconnects(Collection<Interconnect> interconnects)
The interconnects.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInterconnectsResult |
withInterconnects(Collection<Interconnect> interconnects)
The interconnects.
|
DescribeInterconnectsResult |
withInterconnects(Interconnect... interconnects)
The interconnects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Interconnect> getInterconnects()
The interconnects.
public void setInterconnects(Collection<Interconnect> interconnects)
The interconnects.
interconnects
- The interconnects.public DescribeInterconnectsResult withInterconnects(Interconnect... interconnects)
The 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
- The interconnects.public DescribeInterconnectsResult withInterconnects(Collection<Interconnect> interconnects)
The interconnects.
interconnects
- The interconnects.public String toString()
toString
in class Object
Object.toString()
public DescribeInterconnectsResult clone()