com.amazonaws.services.directconnect.model
Class CreateInterconnectRequest

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

public class CreateInterconnectRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateInterconnect operation.

Creates a new interconnect between a AWS Direct Connect partner's network and a specific AWS Direct Connect location.

An interconnect is a connection which is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide sub-1Gbps AWS Direct Connect service to tier 2 customers who do not have their own connections. Like a standard connection, an interconnect links the AWS Direct Connect partner's network to an AWS Direct Connect location over a standard 1 Gbps or 10 Gbps Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router.

For each end customer, the AWS Direct Connect partner provisions a connection on their interconnect by calling AllocateConnectionOnInterconnect. The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect partner.

See Also:
AmazonDirectConnect.createInterconnect(CreateInterconnectRequest), Serialized Form

Constructor Summary
CreateInterconnectRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBandwidth()
          The port bandwidth
 String getInterconnectName()
          The name of the interconnect.
 String getLocation()
          Where the interconnect is located
 int hashCode()
           
 void setBandwidth(String bandwidth)
          The port bandwidth
 void setInterconnectName(String interconnectName)
          The name of the interconnect.
 void setLocation(String location)
          Where the interconnect is located
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateInterconnectRequest withBandwidth(String bandwidth)
          The port bandwidth
 CreateInterconnectRequest withInterconnectName(String interconnectName)
          The name of the interconnect.
 CreateInterconnectRequest withLocation(String location)
          Where the interconnect is located
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateInterconnectRequest

public CreateInterconnectRequest()
Method Detail

getInterconnectName

public String getInterconnectName()
The name of the interconnect.

Example: "1G Interconnect to AWS"

Default: None

Returns:
The name of the interconnect.

Example: "1G Interconnect to AWS"

Default: None


setInterconnectName

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

Example: "1G Interconnect to AWS"

Default: None

Parameters:
interconnectName - The name of the interconnect.

Example: "1G Interconnect to AWS"

Default: None


withInterconnectName

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

Example: "1G Interconnect to AWS"

Default: None

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"

Default: None

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

getBandwidth

public String getBandwidth()
The port bandwidth

Example: 1Gbps

Default: None

Available values: 1Gbps,10Gbps

Returns:
The port bandwidth

Example: 1Gbps

Default: None

Available values: 1Gbps,10Gbps


setBandwidth

public void setBandwidth(String bandwidth)
The port bandwidth

Example: 1Gbps

Default: None

Available values: 1Gbps,10Gbps

Parameters:
bandwidth - The port bandwidth

Example: 1Gbps

Default: None

Available values: 1Gbps,10Gbps


withBandwidth

public CreateInterconnectRequest withBandwidth(String bandwidth)
The port bandwidth

Example: 1Gbps

Default: None

Available values: 1Gbps,10Gbps

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

Parameters:
bandwidth - The port bandwidth

Example: 1Gbps

Default: None

Available values: 1Gbps,10Gbps

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

getLocation

public String getLocation()
Where the interconnect is located

Example: EqSV5

Default: None

Returns:
Where the interconnect is located

Example: EqSV5

Default: None


setLocation

public void setLocation(String location)
Where the interconnect is located

Example: EqSV5

Default: None

Parameters:
location - Where the interconnect is located

Example: EqSV5

Default: None


withLocation

public CreateInterconnectRequest withLocation(String location)
Where the interconnect is located

Example: EqSV5

Default: None

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

Parameters:
location - Where the interconnect 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 © 2016. All rights reserved.