Class CreateConnectionResult
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.CreateConnectionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateConnectionResult 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 CreateConnectionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateConnectionResultclone()booleanequals(Object obj)StringgetBandwidth()Bandwidth of the connection.StringgetConnectionId()StringgetConnectionName()StringgetConnectionState()StringgetLocation()StringgetOwnerAccount()The AWS account that will own the new connection.StringgetPartnerName()The name of the AWS Direct Connect service provider associated with the connection.StringgetRegion()IntegergetVlan()inthashCode()voidsetBandwidth(String bandwidth)Bandwidth of the connection.voidsetConnectionId(String connectionId)voidsetConnectionName(String connectionName)voidsetConnectionState(ConnectionState connectionState)voidsetConnectionState(String connectionState)voidsetLocation(String location)voidsetOwnerAccount(String ownerAccount)The AWS account that will own the new connection.voidsetPartnerName(String partnerName)The name of the AWS Direct Connect service provider associated with the connection.voidsetRegion(String region)voidsetVlan(Integer vlan)StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateConnectionResultwithBandwidth(String bandwidth)Bandwidth of the connection.CreateConnectionResultwithConnectionId(String connectionId)CreateConnectionResultwithConnectionName(String connectionName)CreateConnectionResultwithConnectionState(ConnectionState connectionState)CreateConnectionResultwithConnectionState(String connectionState)CreateConnectionResultwithLocation(String location)CreateConnectionResultwithOwnerAccount(String ownerAccount)The AWS account that will own the new connection.CreateConnectionResultwithPartnerName(String partnerName)The name of the AWS Direct Connect service provider associated with the connection.CreateConnectionResultwithRegion(String region)CreateConnectionResultwithVlan(Integer vlan)
-
-
-
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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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 CreateConnectionResult 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateConnectionResult clone()
-
-