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:
  • Constructor Details

    • CreateConnectionResult

      public CreateConnectionResult()
  • Method Details

    • 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:
    • getConnectionState

      public String getConnectionState()
      Returns:
      See Also:
    • 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:
    • setConnectionState

      public void setConnectionState(ConnectionState connectionState)
      Parameters:
      connectionState -
      See Also:
    • 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:
    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateConnectionResult clone()
      Overrides:
      clone in class Object