|
Did this page help you?Yes No Tell us about it... |
||||||
| 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 Direct Connect location and the customer.
| Constructor Summary | |
|---|---|
Connection()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getConnectionId()
ID of the connection. |
String |
getConnectionName()
The name of the connection. |
String |
getConnectionState()
State of the connection. |
String |
getLocation()
Where the AWS Direct Connect offering is located. |
String |
getRegion()
The AWS region where the offering is located. |
int |
hashCode()
|
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 AWS Direct Connect offering is located. |
void |
setRegion(String region)
The AWS region where the offering is located. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
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 AWS Direct Connect offering is located. |
Connection |
withRegion(String region)
The AWS region where the offering is located. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Connection()
| Method Detail |
|---|
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: requested, pending, available, deleted
ConnectionStatepublic void setConnectionState(String connectionState)
Constraints:
Allowed Values: requested, pending, available, deleted
connectionState - State of the connection. ConnectionStatepublic Connection withConnectionState(String connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: requested, pending, available, deleted
connectionState - State of the connection. ConnectionStatepublic void setConnectionState(ConnectionState connectionState)
Constraints:
Allowed Values: requested, pending, available, deleted
connectionState - State of the connection. ConnectionStatepublic Connection withConnectionState(ConnectionState connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: requested, pending, available, deleted
connectionState - State of the connection. ConnectionStatepublic 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 offering 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 offering 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 AWS Direct Connect offering 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 AWS Direct Connect offering is located. Example: EqSV5
Default: None
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||