Class AllocateConnectionOnInterconnectResult
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.AllocateConnectionOnInterconnectResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AllocateConnectionOnInterconnectResult extends Object implements Serializable, Cloneable
A connection represents the physical network connection between the AWS Direct Connect location and the customer.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AllocateConnectionOnInterconnectResult()
-
Method Summary
-
-
-
Method Detail
-
setOwnerAccount
public void setOwnerAccount(String ownerAccount)
The AWS account that will own the new connection.
- Parameters:
ownerAccount
- The AWS account that will own the new connection.
-
getOwnerAccount
public String getOwnerAccount()
The AWS account that will own the new connection.
- Returns:
- The AWS account that will own the new connection.
-
withOwnerAccount
public AllocateConnectionOnInterconnectResult withOwnerAccount(String ownerAccount)
The AWS account that will own the new connection.
- Parameters:
ownerAccount
- The AWS account that will own the new connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionId
public void setConnectionId(String connectionId)
- Parameters:
connectionId
-
-
getConnectionId
public String getConnectionId()
- Returns:
-
withConnectionId
public AllocateConnectionOnInterconnectResult withConnectionId(String connectionId)
- Parameters:
connectionId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionName
public void setConnectionName(String connectionName)
- Parameters:
connectionName
-
-
getConnectionName
public String getConnectionName()
- Returns:
-
withConnectionName
public AllocateConnectionOnInterconnectResult withConnectionName(String connectionName)
- Parameters:
connectionName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionState
public void setConnectionState(String connectionState)
- Parameters:
connectionState
-- See Also:
ConnectionState
-
getConnectionState
public String getConnectionState()
- Returns:
- See Also:
ConnectionState
-
withConnectionState
public AllocateConnectionOnInterconnectResult withConnectionState(String connectionState)
- Parameters:
connectionState
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionState
-
setConnectionState
public void setConnectionState(ConnectionState connectionState)
- Parameters:
connectionState
-- See Also:
ConnectionState
-
withConnectionState
public AllocateConnectionOnInterconnectResult withConnectionState(ConnectionState connectionState)
- Parameters:
connectionState
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionState
-
setRegion
public void setRegion(String region)
- Parameters:
region
-
-
getRegion
public String getRegion()
- Returns:
-
withRegion
public AllocateConnectionOnInterconnectResult withRegion(String region)
- Parameters:
region
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLocation
public void setLocation(String location)
- Parameters:
location
-
-
getLocation
public String getLocation()
- Returns:
-
withLocation
public AllocateConnectionOnInterconnectResult withLocation(String location)
- Parameters:
location
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBandwidth
public void setBandwidth(String bandwidth)
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
- Parameters:
bandwidth
- Bandwidth of the connection.Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
-
getBandwidth
public String getBandwidth()
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
- Returns:
- Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
-
withBandwidth
public AllocateConnectionOnInterconnectResult withBandwidth(String bandwidth)
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
- Parameters:
bandwidth
- Bandwidth of the connection.Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVlan
public void setVlan(Integer vlan)
- Parameters:
vlan
-
-
getVlan
public Integer getVlan()
- Returns:
-
withVlan
public AllocateConnectionOnInterconnectResult withVlan(Integer vlan)
- Parameters:
vlan
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPartnerName
public void setPartnerName(String partnerName)
The name of the AWS Direct Connect service provider associated with the connection.
- Parameters:
partnerName
- The name of the AWS Direct Connect service provider associated with the connection.
-
getPartnerName
public String getPartnerName()
The name of the AWS Direct Connect service provider associated with the connection.
- Returns:
- The name of the AWS Direct Connect service provider associated with the connection.
-
withPartnerName
public AllocateConnectionOnInterconnectResult withPartnerName(String partnerName)
The name of the AWS Direct Connect service provider associated with the connection.
- Parameters:
partnerName
- The name of the AWS Direct Connect service provider associated with the connection.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AllocateConnectionOnInterconnectResult clone()
-
-