Class DescribeConnectionsOnInterconnectResult
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.DescribeConnectionsOnInterconnectResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeConnectionsOnInterconnectResult extends Object implements Serializable, Cloneable
A structure containing a list of connections.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeConnectionsOnInterconnectResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeConnectionsOnInterconnectResultclone()booleanequals(Object obj)List<Connection>getConnections()A list of connections.inthashCode()voidsetConnections(Collection<Connection> connections)A list of connections.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeConnectionsOnInterconnectResultwithConnections(Connection... connections)A list of connections.DescribeConnectionsOnInterconnectResultwithConnections(Collection<Connection> connections)A list of connections.
-
-
-
Method Detail
-
getConnections
public List<Connection> getConnections()
A list of connections.
- Returns:
- A list of connections.
-
setConnections
public void setConnections(Collection<Connection> connections)
A list of connections.
- Parameters:
connections- A list of connections.
-
withConnections
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)orwithConnections(java.util.Collection)if you want to override the existing values.- Parameters:
connections- A list of connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConnections
public DescribeConnectionsOnInterconnectResult withConnections(Collection<Connection> connections)
A list of connections.
- Parameters:
connections- A list of connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeConnectionsOnInterconnectResult clone()
-
-