Class Connection

    • Constructor Detail

      • Connection

        public Connection()
    • 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 Connection 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 Connection 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 Connection 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
      • withConnectionState

        public Connection withConnectionState​(String connectionState)
        Parameters:
        connectionState -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionState
      • withConnectionState

        public Connection 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 Connection 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 Connection 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 Connection 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 Connection 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 Connection 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object