public class CreateConnectionRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
CreateConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getOfferingId()
Example: us-west-1_EqSV5_1G
Default: None
Example: us-west-1_EqSV5_1G
Default: None
public void setOfferingId(String offeringId)
Example: us-west-1_EqSV5_1G
Default: None
offeringId
- The ID of the offering. Example: us-west-1_EqSV5_1G
Default: None
public CreateConnectionRequest withOfferingId(String offeringId)
Example: us-west-1_EqSV5_1G
Default: None
Returns a reference to this object so that method calls can be chained together.
offeringId
- The ID of the offering. Example: us-west-1_EqSV5_1G
Default: None
public String getConnectionName()
Example: "1G Connection to AWS"
Default: None
Example: "1G Connection to AWS"
Default: None
public void setConnectionName(String connectionName)
Example: "1G Connection to AWS"
Default: None
connectionName
- The name of the connection. Example: "1G Connection to AWS"
Default: None
public CreateConnectionRequest withConnectionName(String connectionName)
Example: "1G Connection to AWS"
Default: None
Returns a reference to this object so that method calls can be chained together.
connectionName
- The name of the connection. Example: "1G Connection to AWS"
Default: None
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.