public class CreateConnectionResult extends Object implements Serializable
A connection represents the physical network connection between the AWS Direct Connect location and the customer.
Constructor and Description |
---|
CreateConnectionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBandwidth()
Bandwidth of the connection.
|
String |
getConnectionId()
ID of the connection.
|
String |
getConnectionName()
The name of the connection.
|
String |
getConnectionState()
State of the connection.
|
String |
getLocation()
Where the connection is located.
|
String |
getOwnerAccount()
Returns the value of the OwnerAccount property for this object.
|
String |
getPartnerName()
Returns the value of the PartnerName property for this object.
|
String |
getRegion()
The AWS region where the connection is located.
|
Integer |
getVlan()
The VLAN ID.
|
int |
hashCode() |
void |
setBandwidth(String bandwidth)
Bandwidth of the connection.
|
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 connection is located.
|
void |
setOwnerAccount(String ownerAccount)
Sets the value of the OwnerAccount property for this object.
|
void |
setPartnerName(String partnerName)
Sets the value of the PartnerName property for this object.
|
void |
setRegion(String region)
The AWS region where the connection is located.
|
void |
setVlan(Integer vlan)
The VLAN ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateConnectionResult |
withBandwidth(String bandwidth)
Bandwidth of the connection.
|
CreateConnectionResult |
withConnectionId(String connectionId)
ID of the connection.
|
CreateConnectionResult |
withConnectionName(String connectionName)
The name of the connection.
|
CreateConnectionResult |
withConnectionState(ConnectionState connectionState)
State of the connection.
|
CreateConnectionResult |
withConnectionState(String connectionState)
State of the connection.
|
CreateConnectionResult |
withLocation(String location)
Where the connection is located.
|
CreateConnectionResult |
withOwnerAccount(String ownerAccount)
Sets the value of the OwnerAccount property for this object.
|
CreateConnectionResult |
withPartnerName(String partnerName)
Sets the value of the PartnerName property for this object.
|
CreateConnectionResult |
withRegion(String region)
The AWS region where the connection is located.
|
CreateConnectionResult |
withVlan(Integer vlan)
The VLAN ID.
|
public String getOwnerAccount()
public void setOwnerAccount(String ownerAccount)
ownerAccount
- The new value for the OwnerAccount property for this object.public CreateConnectionResult withOwnerAccount(String ownerAccount)
Returns a reference to this object so that method calls can be chained together.
ownerAccount
- The new value for the OwnerAccount property for this object.public String getConnectionId()
Example: dxcon-fg5678gh
Default: None
Example: dxcon-fg5678gh
Default: None
public void setConnectionId(String connectionId)
Example: dxcon-fg5678gh
Default: None
connectionId
- ID of the connection. Example: dxcon-fg5678gh
Default: None
public CreateConnectionResult withConnectionId(String connectionId)
Example: dxcon-fg5678gh
Default: None
Returns a reference to this object so that method calls can be chained together.
connectionId
- ID of the connection. Example: dxcon-fg5678gh
Default: None
public String getConnectionName()
Example: "1G Connection to AWS"
Default: None
Example: "1G Connection to AWS"
Default: None
public void setConnectionName(String connectionName)
Example: "1G Connection to AWS"
Default: None
connectionName
- The name of the connection. Example: "1G Connection to AWS"
Default: None
public CreateConnectionResult withConnectionName(String connectionName)
Example: "1G Connection to AWS"
Default: None
Returns a reference to this object so that method calls can be chained together.
connectionName
- The name of the connection. Example: "1G Connection to AWS"
Default: None
public String getConnectionState()
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
ConnectionState
public void setConnectionState(String connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public CreateConnectionResult withConnectionState(String connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public void setConnectionState(ConnectionState connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public CreateConnectionResult withConnectionState(ConnectionState connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- The VLAN ID. Example: 101
public CreateConnectionResult withVlan(Integer vlan)
Example: 101
Returns a reference to this object so that method calls can be chained together.
vlan
- The VLAN ID. Example: 101
public String getPartnerName()
public void setPartnerName(String partnerName)
partnerName
- The new value for the PartnerName property for this object.public CreateConnectionResult withPartnerName(String partnerName)
Returns a reference to this object so that method calls can be chained together.
partnerName
- The new value for the PartnerName property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.