Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class DescribeConnectionsResult

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.DescribeConnectionsResult
All Implemented Interfaces:
Serializable

public class DescribeConnectionsResult
extends Object
implements Serializable

A structure containing a list of connections.

See Also:
Serialized Form

Constructor Summary
DescribeConnectionsResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeConnectionsResult

public DescribeConnectionsResult()
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 DescribeConnectionsResult withConnections(Connection... connections)
A list of connections.

Returns a reference to this object so that method calls can be chained together.

Parameters:
connections - A list of connections.
Returns:
A reference to this updated object so that method calls can be chained together.

withConnections

public DescribeConnectionsResult withConnections(Collection<Connection> connections)
A list of connections.

Returns a reference to this object so that method calls can be chained together.

Parameters:
connections - A list of connections.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.