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