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