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.
Constructor and Description |
---|
CreateInterconnectResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getInterconnectId()
Example: dxcon-abc123
Example: dxcon-abc123
public void setInterconnectId(String interconnectId)
Example: dxcon-abc123
interconnectId
- The ID of the interconnect. Example: dxcon-abc123
public CreateInterconnectResult withInterconnectId(String interconnectId)
Example: dxcon-abc123
Returns a reference to this object so that method calls can be chained together.
interconnectId
- The ID of the interconnect. Example: dxcon-abc123
public String getInterconnectName()
Example: "1G Interconnect to AWS"
Example: "1G Interconnect to AWS"
public void setInterconnectName(String interconnectName)
Example: "1G Interconnect to AWS"
interconnectName
- The name of the interconnect. Example: "1G Interconnect to AWS"
public CreateInterconnectResult withInterconnectName(String interconnectName)
Example: "1G Interconnect to AWS"
Returns a reference to this object so that method calls can be chained together.
interconnectName
- The name of the interconnect. Example: "1G Interconnect to AWS"
public String getInterconnectState()
Constraints:
Allowed Values: requested, pending, available, down, deleting, deleted
InterconnectState
public void setInterconnectState(String interconnectState)
Constraints:
Allowed Values: requested, pending, available, down, deleting, deleted
interconnectState
- State of the interconnect. InterconnectState
public CreateInterconnectResult withInterconnectState(String interconnectState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: requested, pending, available, down, deleting, deleted
interconnectState
- State of the interconnect. InterconnectState
public void setInterconnectState(InterconnectState interconnectState)
Constraints:
Allowed Values: requested, pending, available, down, deleting, deleted
interconnectState
- State of the interconnect. InterconnectState
public CreateInterconnectResult withInterconnectState(InterconnectState interconnectState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: requested, pending, available, down, deleting, deleted
interconnectState
- State of the interconnect. InterconnectState
public 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 connection is located. Example: us-east-1
Default: None
public CreateInterconnectResult 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 connection 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 connection is located. Example: EqSV5
Default: None
public CreateInterconnectResult withLocation(String location)
Example: EqSV5
Default: None
Returns a reference to this object so that method calls can be chained together.
location
- Where the connection is located. Example: EqSV5
Default: None
public String getBandwidth()
Example: 1Gbps
Default: None
Example: 1Gbps
Default: None
public void setBandwidth(String bandwidth)
Example: 1Gbps
Default: None
bandwidth
- Bandwidth of the connection. Example: 1Gbps
Default: None
public CreateInterconnectResult withBandwidth(String bandwidth)
Example: 1Gbps
Default: None
Returns a reference to this object so that method calls can be chained together.
bandwidth
- Bandwidth of the connection. Example: 1Gbps
Default: None
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.