@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInterconnectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A structure containing a list of interconnects.
Constructor and Description |
---|
DescribeInterconnectsResult() |
Modifier and Type | Method and 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(Collection<Interconnect> interconnects)
A list of interconnects.
|
DescribeInterconnectsResult |
withInterconnects(Interconnect... interconnects)
A list of interconnects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Interconnect> getInterconnects()
A list of interconnects.
public void setInterconnects(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(Collection<Interconnect> interconnects)
A list of interconnects.
interconnects
- A list of interconnects.public String toString()
toString
in class Object
Object.toString()
public DescribeInterconnectsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.