com.amazonaws.services.directconnect.model
Class CreateInterconnectResult

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

public class CreateInterconnectResult
extends Object
implements Serializable

An interconnect is a connection that can host other connections.

Like a standard AWS Direct Connect connection, an interconnect represents the physical connection between an AWS Direct Connect partner's network and a specific Direct Connect location. An AWS Direct Connect partner who owns an interconnect can provision hosted connections on the interconnect for their end customers, thereby providing the end customers with connectivity to AWS services.

The resources of the interconnect, including bandwidth and VLAN numbers, are shared by all of the hosted connections on the interconnect, and the owner of the interconnect determines how these resources are assigned.

See Also:
Serialized Form

Constructor Summary
CreateInterconnectResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBandwidth()
          Bandwidth of the connection.
 String getInterconnectId()
          The ID of the interconnect.
 String getInterconnectName()
          The name of the interconnect.
 String getInterconnectState()
          State of the interconnect.
 String getLocation()
          Where the connection is located.
 String getRegion()
          The AWS region where the connection is located.
 int hashCode()
           
 void setBandwidth(String bandwidth)
          Bandwidth of the connection.
 void setInterconnectId(String interconnectId)
          The ID of the interconnect.
 void setInterconnectName(String interconnectName)
          The name of the interconnect.
 void setInterconnectState(InterconnectState interconnectState)
          State of the interconnect.
 void setInterconnectState(String interconnectState)
          State of the interconnect.
 void setLocation(String location)
          Where the connection is located.
 void setRegion(String region)
          The AWS region where the connection is located.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateInterconnectResult withBandwidth(String bandwidth)
          Bandwidth of the connection.
 CreateInterconnectResult withInterconnectId(String interconnectId)
          The ID of the interconnect.
 CreateInterconnectResult withInterconnectName(String interconnectName)
          The name of the interconnect.
 CreateInterconnectResult withInterconnectState(InterconnectState interconnectState)
          State of the interconnect.
 CreateInterconnectResult withInterconnectState(String interconnectState)
          State of the interconnect.
 CreateInterconnectResult withLocation(String location)
          Where the connection is located.
 CreateInterconnectResult withRegion(String region)
          The AWS region where the connection is located.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateInterconnectResult

public CreateInterconnectResult()
Method Detail

getInterconnectId

public String getInterconnectId()
The ID of the interconnect.

Example: dxcon-abc123

Returns:
The ID of the interconnect.

Example: dxcon-abc123


setInterconnectId

public void setInterconnectId(String interconnectId)
The ID of the interconnect.

Example: dxcon-abc123

Parameters:
interconnectId - The ID of the interconnect.

Example: dxcon-abc123


withInterconnectId

public CreateInterconnectResult withInterconnectId(String interconnectId)
The ID of the interconnect.

Example: dxcon-abc123

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

Parameters:
interconnectId - The ID of the interconnect.

Example: dxcon-abc123

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

getInterconnectName

public String getInterconnectName()
The name of the interconnect.

Example: "1G Interconnect to AWS"

Returns:
The name of the interconnect.

Example: "1G Interconnect to AWS"


setInterconnectName

public void setInterconnectName(String interconnectName)
The name of the interconnect.

Example: "1G Interconnect to AWS"

Parameters:
interconnectName - The name of the interconnect.

Example: "1G Interconnect to AWS"


withInterconnectName

public CreateInterconnectResult withInterconnectName(String interconnectName)
The name of the interconnect.

Example: "1G Interconnect to AWS"

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

Parameters:
interconnectName - The name of the interconnect.

Example: "1G Interconnect to AWS"

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

getInterconnectState

public String getInterconnectState()
State of the interconnect.

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

Returns:
State of the interconnect.
  • Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The interconnect has been approved, and is being initialized.
  • Available: The network link is up, and the interconnect is ready for use.
  • Down: The network link is down.
  • Deleted: The interconnect has been deleted.
See Also:
InterconnectState

setInterconnectState

public void setInterconnectState(String interconnectState)
State of the interconnect.

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

Parameters:
interconnectState - State of the interconnect.
  • Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The interconnect has been approved, and is being initialized.
  • Available: The network link is up, and the interconnect is ready for use.
  • Down: The network link is down.
  • Deleted: The interconnect has been deleted.
See Also:
InterconnectState

withInterconnectState

public CreateInterconnectResult withInterconnectState(String interconnectState)
State of the interconnect.

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

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

Parameters:
interconnectState - State of the interconnect.
  • Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The interconnect has been approved, and is being initialized.
  • Available: The network link is up, and the interconnect is ready for use.
  • Down: The network link is down.
  • Deleted: The interconnect has been deleted.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InterconnectState

setInterconnectState

public void setInterconnectState(InterconnectState interconnectState)
State of the interconnect.

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

Parameters:
interconnectState - State of the interconnect.
  • Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The interconnect has been approved, and is being initialized.
  • Available: The network link is up, and the interconnect is ready for use.
  • Down: The network link is down.
  • Deleted: The interconnect has been deleted.
See Also:
InterconnectState

withInterconnectState

public CreateInterconnectResult withInterconnectState(InterconnectState interconnectState)
State of the interconnect.

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

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

Parameters:
interconnectState - State of the interconnect.
  • Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The interconnect has been approved, and is being initialized.
  • Available: The network link is up, and the interconnect is ready for use.
  • Down: The network link is down.
  • Deleted: The interconnect has been deleted.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InterconnectState

getRegion

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

Example: us-east-1

Default: None

Returns:
The AWS region where the connection is located.

Example: us-east-1

Default: None


setRegion

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

Example: us-east-1

Default: None

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

Example: us-east-1

Default: None


withRegion

public CreateInterconnectResult withRegion(String region)
The AWS region where the connection 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 connection 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 connection is located.

Example: EqSV5

Default: None

Returns:
Where the connection is located.

Example: EqSV5

Default: None


setLocation

public void setLocation(String location)
Where the connection is located.

Example: EqSV5

Default: None

Parameters:
location - Where the connection is located.

Example: EqSV5

Default: None


withLocation

public CreateInterconnectResult withLocation(String location)
Where the connection is located.

Example: EqSV5

Default: None

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

Parameters:
location - Where the connection is located.

Example: EqSV5

Default: None

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

getBandwidth

public String getBandwidth()
Bandwidth of the connection.

Example: 1Gbps

Default: None

Returns:
Bandwidth of the connection.

Example: 1Gbps

Default: None


setBandwidth

public void setBandwidth(String bandwidth)
Bandwidth of the connection.

Example: 1Gbps

Default: None

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

Default: None


withBandwidth

public CreateInterconnectResult withBandwidth(String bandwidth)
Bandwidth of the connection.

Example: 1Gbps

Default: None

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

Parameters:
bandwidth - Bandwidth of the connection.

Example: 1Gbps

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 © 2016. All rights reserved.