Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class Connection

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.Connection
All Implemented Interfaces:
Serializable

public class Connection
extends Object
implements Serializable

A connection represents the physical network connection between the Direct Connect location and the customer.

See Also:
Serialized Form

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

Connection

public Connection()
Method Detail

getConnectionId

public String getConnectionId()
ID of the connection.

Example: dxcon-fg5678gh

Default: None

Returns:
ID of the connection.

Example: dxcon-fg5678gh

Default: None


setConnectionId

public void setConnectionId(String connectionId)
ID of the connection.

Example: dxcon-fg5678gh

Default: None

Parameters:
connectionId - ID of the connection.

Example: dxcon-fg5678gh

Default: None


withConnectionId

public Connection withConnectionId(String connectionId)
ID of the connection.

Example: dxcon-fg5678gh

Default: None

Returns a reference to this object so that method calls can be chained together.

Parameters:
connectionId - ID of the connection.

Example: dxcon-fg5678gh

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getConnectionName

public String getConnectionName()
The name of the connection.

Example: "1G Connection to AWS"

Default: None

Returns:
The name of the connection.

Example: "1G Connection to AWS"

Default: None


setConnectionName

public void setConnectionName(String connectionName)
The name of the connection.

Example: "1G Connection to AWS"

Default: None

Parameters:
connectionName - The name of the connection.

Example: "1G Connection to AWS"

Default: None


withConnectionName

public Connection withConnectionName(String connectionName)
The name of the connection.

Example: "1G Connection to AWS"

Default: None

Returns a reference to this object so that method calls can be chained together.

Parameters:
connectionName - The name of the connection.

Example: "1G Connection to AWS"

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getConnectionState

public String getConnectionState()
State of the connection.

Constraints:
Allowed Values: requested, pending, available, deleted

Returns:
State of the connection.
  • Requested: The initial state of connection immediately after creation. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: A connection is pending after the customer receives the LOA and remains pending until the completion of the partner circuit.
  • Available: A connection that has a completed partner circuit and is ready for use. A connection must be available before virtual interfaces can be created.
  • Deleted: A connection that has been deleted.
See Also:
ConnectionState

setConnectionState

public void setConnectionState(String connectionState)
State of the connection.

Constraints:
Allowed Values: requested, pending, available, deleted

Parameters:
connectionState - State of the connection.
  • Requested: The initial state of connection immediately after creation. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: A connection is pending after the customer receives the LOA and remains pending until the completion of the partner circuit.
  • Available: A connection that has a completed partner circuit and is ready for use. A connection must be available before virtual interfaces can be created.
  • Deleted: A connection that has been deleted.
See Also:
ConnectionState

withConnectionState

public Connection withConnectionState(String connectionState)
State of the connection.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: requested, pending, available, deleted

Parameters:
connectionState - State of the connection.
  • Requested: The initial state of connection immediately after creation. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: A connection is pending after the customer receives the LOA and remains pending until the completion of the partner circuit.
  • Available: A connection that has a completed partner circuit and is ready for use. A connection must be available before virtual interfaces can be created.
  • Deleted: A connection that has been deleted.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ConnectionState

setConnectionState

public void setConnectionState(ConnectionState connectionState)
State of the connection.

Constraints:
Allowed Values: requested, pending, available, deleted

Parameters:
connectionState - State of the connection.
  • Requested: The initial state of connection immediately after creation. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: A connection is pending after the customer receives the LOA and remains pending until the completion of the partner circuit.
  • Available: A connection that has a completed partner circuit and is ready for use. A connection must be available before virtual interfaces can be created.
  • Deleted: A connection that has been deleted.
See Also:
ConnectionState

withConnectionState

public Connection withConnectionState(ConnectionState connectionState)
State of the connection.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: requested, pending, available, deleted

Parameters:
connectionState - State of the connection.
  • Requested: The initial state of connection immediately after creation. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: A connection is pending after the customer receives the LOA and remains pending until the completion of the partner circuit.
  • Available: A connection that has a completed partner circuit and is ready for use. A connection must be available before virtual interfaces can be created.
  • Deleted: A connection that has been deleted.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ConnectionState

getRegion

public String getRegion()
The AWS region where the offering is located.

Example: us-east-1

Default: None

Returns:
The AWS region where the offering is located.

Example: us-east-1

Default: None


setRegion

public void setRegion(String region)
The AWS region where the offering is located.

Example: us-east-1

Default: None

Parameters:
region - The AWS region where the offering is located.

Example: us-east-1

Default: None


withRegion

public Connection withRegion(String region)
The AWS region where the offering is located.

Example: us-east-1

Default: None

Returns a reference to this object so that method calls can be chained together.

Parameters:
region - The AWS region where the offering is located.

Example: us-east-1

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getLocation

public String getLocation()
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Returns:
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None


setLocation

public void setLocation(String location)
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Parameters:
location - Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None


withLocation

public Connection withLocation(String location)
Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Returns a reference to this object so that method calls can be chained together.

Parameters:
location - Where the AWS Direct Connect offering is located.

Example: EqSV5

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.