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 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. An AWS 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 getBandwidth()
          Bandwidth of the connection.
 String getConnectionName()
          The name of the connection.
 String getLocation()
          Where the connection is located.
 int hashCode()
           
 void setBandwidth(String bandwidth)
          Bandwidth of the connection.
 void setConnectionName(String connectionName)
          The name of the connection.
 void setLocation(String location)
          Where the connection is located.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateConnectionRequest withBandwidth(String bandwidth)
          Bandwidth of the connection.
 CreateConnectionRequest withConnectionName(String connectionName)
          The name of the connection.
 CreateConnectionRequest withLocation(String location)
          Where the connection is located.
 
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

CreateConnectionRequest

public CreateConnectionRequest()
Method Detail

getLocation

public String getLocation()
Where the connection is located.

Example: EqSV5

Default: None

Returns:
Where the connection is located.

Example: EqSV5

Default: None


setLocation

public void setLocation(String location)
Where the connection is located.

Example: EqSV5

Default: None

Parameters:
location - Where the connection is located.

Example: EqSV5

Default: None


withLocation

public CreateConnectionRequest withLocation(String location)
Where the connection is located.

Example: EqSV5

Default: None

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

Parameters:
location - Where the connection is located.

Example: EqSV5

Default: None

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

getBandwidth

public String getBandwidth()
Bandwidth of the connection.

Example: 1Gbps

Default: None

Returns:
Bandwidth of the connection.

Example: 1Gbps

Default: None


setBandwidth

public void setBandwidth(String bandwidth)
Bandwidth of the connection.

Example: 1Gbps

Default: None

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

Default: None


withBandwidth

public CreateConnectionRequest withBandwidth(String bandwidth)
Bandwidth of the connection.

Example: 1Gbps

Default: None

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

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

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 © 2016. All rights reserved.