Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class DescribeConnectionsRequest

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

public class DescribeConnectionsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeConnections operation.

Displays all connections in this region.

If a connection ID is provided, it will only return this particular connection.

See Also:
AmazonDirectConnect.describeConnections(DescribeConnectionsRequest), Serialized Form

Constructor Summary
DescribeConnectionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getConnectionId()
          ID of the connection.
 int hashCode()
           
 void setConnectionId(String connectionId)
          ID of the connection.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeConnectionsRequest withConnectionId(String connectionId)
          ID of the connection.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeConnectionsRequest

public DescribeConnectionsRequest()
Method Detail

getConnectionId

public String getConnectionId()
ID of the connection.

Example: dxcon-fg5678gh

Default: None

Returns:
ID of the connection.

Example: dxcon-fg5678gh

Default: None


setConnectionId

public void setConnectionId(String connectionId)
ID of the connection.

Example: dxcon-fg5678gh

Default: None

Parameters:
connectionId - ID of the connection.

Example: dxcon-fg5678gh

Default: None


withConnectionId

public DescribeConnectionsRequest withConnectionId(String connectionId)
ID of the connection.

Example: dxcon-fg5678gh

Default: None

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

Parameters:
connectionId - ID of the connection.

Example: dxcon-fg5678gh

Default: None

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.