Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class CreateConnectionRequest

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

public class CreateConnectionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateConnection operation.

Creates a new network connection between the customer network and a specific AWS Direct Connect location.

A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. A Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions.

See Also:
AmazonDirectConnect.createConnection(CreateConnectionRequest), Serialized Form

Constructor Summary
CreateConnectionRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getConnectionName()
          The name of the connection.
 String getOfferingId()
          The ID of the offering.
 int hashCode()
           
 void setConnectionName(String connectionName)
          The name of the connection.
 void setOfferingId(String offeringId)
          The ID of the offering.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateConnectionRequest withConnectionName(String connectionName)
          The name of the connection.
 CreateConnectionRequest withOfferingId(String offeringId)
          The ID of the offering.
 
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

CreateConnectionRequest

public CreateConnectionRequest()
Method Detail

getOfferingId

public String getOfferingId()
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

Returns:
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None


setOfferingId

public void setOfferingId(String offeringId)
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

Parameters:
offeringId - The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None


withOfferingId

public CreateConnectionRequest withOfferingId(String offeringId)
The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

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

Parameters:
offeringId - The ID of the offering.

Example: us-west-1_EqSV5_1G

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getConnectionName

public String getConnectionName()
The name of the connection.

Example: "1G Connection to AWS"

Default: None

Returns:
The name of the connection.

Example: "1G Connection to AWS"

Default: None


setConnectionName

public void setConnectionName(String connectionName)
The name of the connection.

Example: "1G Connection to AWS"

Default: None

Parameters:
connectionName - The name of the connection.

Example: "1G Connection to AWS"

Default: None


withConnectionName

public CreateConnectionRequest withConnectionName(String connectionName)
The name of the connection.

Example: "1G Connection to AWS"

Default: None

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

Parameters:
connectionName - The name of the connection.

Example: "1G Connection to AWS"

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.