public class Connection extends Object implements Serializable, Cloneable
A connection represents the physical network connection between the AWS Direct Connect location and the customer.
Constructor and Description |
---|
Connection() |
Modifier and Type | Method and Description |
---|---|
Connection |
clone() |
boolean |
equals(Object obj) |
String |
getBandwidth()
Bandwidth of the connection.
|
String |
getConnectionId() |
String |
getConnectionName() |
String |
getConnectionState() |
String |
getLocation() |
String |
getOwnerAccount()
The AWS account that will own the new connection.
|
String |
getPartnerName()
The name of the AWS Direct Connect service provider associated with the
connection.
|
String |
getRegion() |
Integer |
getVlan() |
int |
hashCode() |
void |
setBandwidth(String bandwidth)
Bandwidth of the connection.
|
void |
setConnectionId(String connectionId) |
void |
setConnectionName(String connectionName) |
void |
setConnectionState(ConnectionState connectionState) |
void |
setConnectionState(String connectionState) |
void |
setLocation(String location) |
void |
setOwnerAccount(String ownerAccount)
The AWS account that will own the new connection.
|
void |
setPartnerName(String partnerName)
The name of the AWS Direct Connect service provider associated with the
connection.
|
void |
setRegion(String region) |
void |
setVlan(Integer vlan) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Connection |
withBandwidth(String bandwidth)
Bandwidth of the connection.
|
Connection |
withConnectionId(String connectionId) |
Connection |
withConnectionName(String connectionName) |
Connection |
withConnectionState(ConnectionState connectionState) |
Connection |
withConnectionState(String connectionState) |
Connection |
withLocation(String location) |
Connection |
withOwnerAccount(String ownerAccount)
The AWS account that will own the new connection.
|
Connection |
withPartnerName(String partnerName)
The name of the AWS Direct Connect service provider associated with the
connection.
|
Connection |
withRegion(String region) |
Connection |
withVlan(Integer vlan) |
public void setOwnerAccount(String ownerAccount)
The AWS account that will own the new connection.
ownerAccount
- The AWS account that will own the new connection.public String getOwnerAccount()
The AWS account that will own the new connection.
public Connection withOwnerAccount(String ownerAccount)
The AWS account that will own the new connection.
ownerAccount
- The AWS account that will own the new connection.public void setConnectionId(String connectionId)
connectionId
- public String getConnectionId()
public Connection withConnectionId(String connectionId)
connectionId
- public void setConnectionName(String connectionName)
connectionName
- public String getConnectionName()
public Connection withConnectionName(String connectionName)
connectionName
- public void setConnectionState(String connectionState)
connectionState
- ConnectionState
public String getConnectionState()
ConnectionState
public Connection withConnectionState(String connectionState)
connectionState
- ConnectionState
public void setConnectionState(ConnectionState connectionState)
connectionState
- ConnectionState
public Connection withConnectionState(ConnectionState connectionState)
connectionState
- ConnectionState
public void setRegion(String region)
region
- public String getRegion()
public Connection withRegion(String region)
region
- public void setLocation(String location)
location
- public String getLocation()
public Connection withLocation(String location)
location
- public void setBandwidth(String bandwidth)
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
bandwidth
- Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
public String getBandwidth()
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
public Connection withBandwidth(String bandwidth)
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
bandwidth
- Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
public void setVlan(Integer vlan)
vlan
- public Integer getVlan()
public Connection withVlan(Integer vlan)
vlan
- public void setPartnerName(String partnerName)
The name of the AWS Direct Connect service provider associated with the connection.
partnerName
- The name of the AWS Direct Connect service provider associated
with the connection.public String getPartnerName()
The name of the AWS Direct Connect service provider associated with the connection.
public Connection withPartnerName(String partnerName)
The name of the AWS Direct Connect service provider associated with the connection.
partnerName
- The name of the AWS Direct Connect service provider associated
with the connection.public String toString()
toString
in class Object
Object.toString()
public Connection clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.