@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Connection extends Object implements Serializable, Cloneable, StructuredPojo
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 |
getAwsDevice()
The Direct Connection endpoint which the physical connection terminates on.
|
String |
getBandwidth()
Bandwidth of the connection.
|
String |
getConnectionId() |
String |
getConnectionName() |
String |
getConnectionState() |
String |
getLagId() |
Date |
getLoaIssueTime()
The time of the most recent call to DescribeLoa for this connection.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsDevice(String awsDevice)
The Direct Connection endpoint which the physical connection terminates on.
|
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 |
setLagId(String lagId) |
void |
setLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
|
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 |
withAwsDevice(String awsDevice)
The Direct Connection endpoint which the physical connection terminates on.
|
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 |
withLagId(String lagId) |
Connection |
withLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
|
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 void setLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
loaIssueTime
- The time of the most recent call to DescribeLoa for this connection.public Date getLoaIssueTime()
The time of the most recent call to DescribeLoa for this connection.
public Connection withLoaIssueTime(Date loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
loaIssueTime
- The time of the most recent call to DescribeLoa for this connection.public void setLagId(String lagId)
lagId
- public String getLagId()
public Connection withLagId(String lagId)
lagId
- public void setAwsDevice(String awsDevice)
The Direct Connection endpoint which the physical connection terminates on.
awsDevice
- The Direct Connection endpoint which the physical connection terminates on.public String getAwsDevice()
The Direct Connection endpoint which the physical connection terminates on.
public Connection withAwsDevice(String awsDevice)
The Direct Connection endpoint which the physical connection terminates on.
awsDevice
- The Direct Connection endpoint which the physical connection terminates on.public String toString()
toString
in class Object
Object.toString()
public Connection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.