@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeConnectionsOnInterconnectResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A structure containing a list of connections.
Constructor and Description |
---|
DescribeConnectionsOnInterconnectResult() |
Modifier and Type | Method and Description |
---|---|
DescribeConnectionsOnInterconnectResult |
clone() |
boolean |
equals(Object obj) |
List<Connection> |
getConnections()
A list of connections.
|
int |
hashCode() |
void |
setConnections(Collection<Connection> connections)
A list of connections.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeConnectionsOnInterconnectResult |
withConnections(Collection<Connection> connections)
A list of connections.
|
DescribeConnectionsOnInterconnectResult |
withConnections(Connection... connections)
A list of connections.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeConnectionsOnInterconnectResult()
public List<Connection> getConnections()
A list of connections.
public void setConnections(Collection<Connection> connections)
A list of connections.
connections
- A list of connections.public DescribeConnectionsOnInterconnectResult withConnections(Connection... connections)
A list of connections.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection)
or withConnections(java.util.Collection)
if you want to
override the existing values.
connections
- A list of connections.public DescribeConnectionsOnInterconnectResult withConnections(Collection<Connection> connections)
A list of connections.
connections
- A list of connections.public String toString()
toString
in class Object
Object.toString()
public DescribeConnectionsOnInterconnectResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.