Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class CreateConnectionResult

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.CreateConnectionResult

public class CreateConnectionResult
extends java.lang.Object

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


Constructor Summary
CreateConnectionResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getConnectionId()
          ID of the connection.
 java.lang.String getConnectionName()
          The name of the connection.
 java.lang.String getConnectionState()
          State of the connection.
 java.lang.String getLocation()
          Where the AWS Direct Connect offering is located.
 java.lang.String getRegion()
          The AWS region where the offering is located.
 int hashCode()
           
 void setConnectionId(java.lang.String connectionId)
          ID of the connection.
 void setConnectionName(java.lang.String connectionName)
          The name of the connection.
 void setConnectionState(ConnectionState connectionState)
          State of the connection.
 void setConnectionState(java.lang.String connectionState)
          State of the connection.
 void setLocation(java.lang.String location)
          Where the AWS Direct Connect offering is located.
 void setRegion(java.lang.String region)
          The AWS region where the offering is located.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateConnectionResult withConnectionId(java.lang.String connectionId)
          ID of the connection.
 CreateConnectionResult withConnectionName(java.lang.String connectionName)
          The name of the connection.
 CreateConnectionResult withConnectionState(ConnectionState connectionState)
          State of the connection.
 CreateConnectionResult withConnectionState(java.lang.String connectionState)
          State of the connection.
 CreateConnectionResult withLocation(java.lang.String location)
          Where the AWS Direct Connect offering is located.
 CreateConnectionResult withRegion(java.lang.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

CreateConnectionResult

public CreateConnectionResult()
Method Detail

getConnectionId

public java.lang.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(java.lang.String connectionId)
ID of the connection.

Example: dxcon-fg5678gh

Default: None

Parameters:
connectionId - ID of the connection.

Example: dxcon-fg5678gh

Default: None


withConnectionId

public CreateConnectionResult withConnectionId(java.lang.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 java.lang.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(java.lang.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 CreateConnectionResult withConnectionName(java.lang.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 java.lang.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(java.lang.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 CreateConnectionResult withConnectionState(java.lang.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 CreateConnectionResult 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 java.lang.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(java.lang.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 CreateConnectionResult withRegion(java.lang.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 java.lang.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(java.lang.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 CreateConnectionResult withLocation(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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