|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.directconnect.model.Connection
public class Connection
A connection represents the physical network connection between the AWS Direct Connect location and the customer.
Constructor Summary | |
---|---|
Connection()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBandwidth()
Bandwidth of the connection. |
String |
getConnectionId()
ID of the connection. |
String |
getConnectionName()
The name of the connection. |
String |
getConnectionState()
State of the connection. |
String |
getLocation()
Where the connection is located. |
String |
getOwnerAccount()
Returns the value of the OwnerAccount property for this object. |
String |
getPartnerName()
Returns the value of the PartnerName property for this object. |
String |
getRegion()
The AWS region where the connection is located. |
Integer |
getVlan()
The VLAN ID. |
int |
hashCode()
|
void |
setBandwidth(String bandwidth)
Bandwidth of the connection. |
void |
setConnectionId(String connectionId)
ID of the connection. |
void |
setConnectionName(String connectionName)
The name of the connection. |
void |
setConnectionState(ConnectionState connectionState)
State of the connection. |
void |
setConnectionState(String connectionState)
State of the connection. |
void |
setLocation(String location)
Where the connection is located. |
void |
setOwnerAccount(String ownerAccount)
Sets the value of the OwnerAccount property for this object. |
void |
setPartnerName(String partnerName)
Sets the value of the PartnerName property for this object. |
void |
setRegion(String region)
The AWS region where the connection is located. |
void |
setVlan(Integer vlan)
The VLAN ID. |
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)
ID of the connection. |
Connection |
withConnectionName(String connectionName)
The name of the connection. |
Connection |
withConnectionState(ConnectionState connectionState)
State of the connection. |
Connection |
withConnectionState(String connectionState)
State of the connection. |
Connection |
withLocation(String location)
Where the connection is located. |
Connection |
withOwnerAccount(String ownerAccount)
Sets the value of the OwnerAccount property for this object. |
Connection |
withPartnerName(String partnerName)
Sets the value of the PartnerName property for this object. |
Connection |
withRegion(String region)
The AWS region where the connection is located. |
Connection |
withVlan(Integer vlan)
The VLAN ID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Connection()
Method Detail |
---|
public String getOwnerAccount()
public void setOwnerAccount(String ownerAccount)
ownerAccount
- The new value for the OwnerAccount property for this object.public Connection withOwnerAccount(String ownerAccount)
Returns a reference to this object so that method calls can be chained together.
ownerAccount
- The new value for the OwnerAccount property for this object.
public String getConnectionId()
Example: dxcon-fg5678gh
Default: None
Example: dxcon-fg5678gh
Default: None
public void setConnectionId(String connectionId)
Example: dxcon-fg5678gh
Default: None
connectionId
- ID of the connection. Example: dxcon-fg5678gh
Default: None
public Connection withConnectionId(String connectionId)
Example: dxcon-fg5678gh
Default: None
Returns a reference to this object so that method calls can be chained together.
connectionId
- ID of the connection. Example: dxcon-fg5678gh
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 Connection 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 getConnectionState()
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
ConnectionState
public void setConnectionState(String connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public Connection withConnectionState(String connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public void setConnectionState(ConnectionState connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public Connection withConnectionState(ConnectionState connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public String getRegion()
Example: us-east-1
Default: None
Example: us-east-1
Default: None
public void setRegion(String region)
Example: us-east-1
Default: None
region
- The AWS region where the connection is located. Example: us-east-1
Default: None
public Connection withRegion(String region)
Example: us-east-1
Default: None
Returns a reference to this object so that method calls can be chained together.
region
- The AWS region where the connection is located. Example: us-east-1
Default: None
public String getLocation()
Example: EqSV5
Default: None
Example: EqSV5
Default: None
public void setLocation(String location)
Example: EqSV5
Default: None
location
- Where the connection is located. Example: EqSV5
Default: None
public Connection withLocation(String location)
Example: EqSV5
Default: None
Returns a reference to this object so that method calls can be chained together.
location
- Where the connection is located. Example: EqSV5
Default: None
public String getBandwidth()
Example: 1Gbps
Default: None
Example: 1Gbps
Default: None
public void setBandwidth(String bandwidth)
Example: 1Gbps
Default: None
bandwidth
- Bandwidth of the connection. Example: 1Gbps
Default: None
public Connection withBandwidth(String bandwidth)
Example: 1Gbps
Default: None
Returns a reference to this object so that method calls can be chained together.
bandwidth
- Bandwidth of the connection. Example: 1Gbps
Default: None
public Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- The VLAN ID. Example: 101
public Connection withVlan(Integer vlan)
Example: 101
Returns a reference to this object so that method calls can be chained together.
vlan
- The VLAN ID. Example: 101
public String getPartnerName()
public void setPartnerName(String partnerName)
partnerName
- The new value for the PartnerName property for this object.public Connection withPartnerName(String partnerName)
Returns a reference to this object so that method calls can be chained together.
partnerName
- The new value for the PartnerName property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |