public class DescribeConnectionsResult extends Object implements Serializable
A structure containing a list of connections.
Constructor and Description |
---|
DescribeConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
DescribeConnectionsResult |
withConnections(Collection<Connection> connections)
A list of connections.
|
DescribeConnectionsResult |
withConnections(Connection... connections)
A list of connections.
|
public List<Connection> getConnections()
public void setConnections(Collection<Connection> connections)
connections
- A list of connections.public DescribeConnectionsResult withConnections(Connection... connections)
Returns a reference to this object so that method calls can be chained together.
connections
- A list of connections.public DescribeConnectionsResult withConnections(Collection<Connection> connections)
Returns a reference to this object so that method calls can be chained together.
connections
- A list of connections.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.