com.amazonaws.services.directconnect.model
Class DescribeInterconnectsRequest

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

public class DescribeInterconnectsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeInterconnects operation.

Returns a list of interconnects owned by the AWS account.

If an interconnect ID is provided, it will only return this particular interconnect.

See Also:
AmazonDirectConnect.describeInterconnects(DescribeInterconnectsRequest), Serialized Form

Constructor Summary
DescribeInterconnectsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getInterconnectId()
          The ID of the interconnect.
 int hashCode()
           
 void setInterconnectId(String interconnectId)
          The ID of the interconnect.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInterconnectsRequest withInterconnectId(String interconnectId)
          The ID of the interconnect.
 
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

DescribeInterconnectsRequest

public DescribeInterconnectsRequest()
Method Detail

getInterconnectId

public String getInterconnectId()
The ID of the interconnect.

Example: dxcon-abc123

Returns:
The ID of the interconnect.

Example: dxcon-abc123


setInterconnectId

public void setInterconnectId(String interconnectId)
The ID of the interconnect.

Example: dxcon-abc123

Parameters:
interconnectId - The ID of the interconnect.

Example: dxcon-abc123


withInterconnectId

public DescribeInterconnectsRequest withInterconnectId(String interconnectId)
The ID of the interconnect.

Example: dxcon-abc123

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

Parameters:
interconnectId - The ID of the interconnect.

Example: dxcon-abc123

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.