com.amazonaws.services.directconnect.model
Class ConfirmConnectionRequest

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

public class ConfirmConnectionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ConfirmConnection operation.

Confirm the creation of a hosted connection on an interconnect.

Upon creation, the hosted connection is initially in the 'Ordering' state, and will remain in this state until the owner calls ConfirmConnection to confirm creation of the hosted connection.

See Also:
AmazonDirectConnect.confirmConnection(ConfirmConnectionRequest), Serialized Form

Constructor Summary
ConfirmConnectionRequest()
           
 
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.
 ConfirmConnectionRequest 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

ConfirmConnectionRequest

public ConfirmConnectionRequest()
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 ConfirmConnectionRequest 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.