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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of connections.int
hashCode()
void
setConnections
(Collection<Connection> connections) A list of connections.toString()
Returns a string representation of this object; useful for testing and debugging.withConnections
(Connection... connections) A list of connections.withConnections
(Collection<Connection> connections) A list of connections.
-
Constructor Details
-
DescribeConnectionsOnInterconnectResult
public DescribeConnectionsOnInterconnectResult()
-
-
Method Details
-
getConnections
A list of connections.
- Returns:
- A list of connections.
-
setConnections
A list of connections.
- Parameters:
connections
- A list of connections.
-
withConnections
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-