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, the call returns only that 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, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, 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 © 2016. All rights reserved.