Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class DeleteConnectionRequest

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

public class DeleteConnectionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteConnection operation.

Deletes the connection.

Deleting a connection only stops the AWS Direct Connect port and data transfer charges. You separately need to cancel any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location with the providers of those services.

See Also:
AmazonDirectConnect.deleteConnection(DeleteConnectionRequest), Serialized Form

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

DeleteConnectionRequest

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