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