Interface AllocateHostedConnectionResponse.Builder

    • Method Detail

      • ownerAccount

        AllocateHostedConnectionResponse.Builder ownerAccount​(String ownerAccount)

        The ID of the Amazon Web Services account that owns the connection.

        Parameters:
        ownerAccount - The ID of the Amazon Web Services account that owns the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionId

        AllocateHostedConnectionResponse.Builder connectionId​(String connectionId)

        The ID of the connection.

        Parameters:
        connectionId - The ID of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionName

        AllocateHostedConnectionResponse.Builder connectionName​(String connectionName)

        The name of the connection.

        Parameters:
        connectionName - The name of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionState

        AllocateHostedConnectionResponse.Builder connectionState​(String connectionState)

        The state of the connection. The following are the possible values:

        • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.

        • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.

        • pending: The connection has been approved and is being initialized.

        • available: The network link is up and the connection is ready for use.

        • down: The network link is down.

        • deleting: The connection is being deleted.

        • deleted: The connection has been deleted.

        • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.

        • unknown: The state of the connection is not available.

        Parameters:
        connectionState - The state of the connection. The following are the possible values:

        • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.

        • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.

        • pending: The connection has been approved and is being initialized.

        • available: The network link is up and the connection is ready for use.

        • down: The network link is down.

        • deleting: The connection is being deleted.

        • deleted: The connection has been deleted.

        • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.

        • unknown: The state of the connection is not available.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionState, ConnectionState
      • connectionState

        AllocateHostedConnectionResponse.Builder connectionState​(ConnectionState connectionState)

        The state of the connection. The following are the possible values:

        • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.

        • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.

        • pending: The connection has been approved and is being initialized.

        • available: The network link is up and the connection is ready for use.

        • down: The network link is down.

        • deleting: The connection is being deleted.

        • deleted: The connection has been deleted.

        • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.

        • unknown: The state of the connection is not available.

        Parameters:
        connectionState - The state of the connection. The following are the possible values:

        • ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.

        • requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.

        • pending: The connection has been approved and is being initialized.

        • available: The network link is up and the connection is ready for use.

        • down: The network link is down.

        • deleting: The connection is being deleted.

        • deleted: The connection has been deleted.

        • rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.

        • unknown: The state of the connection is not available.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConnectionState, ConnectionState
      • region

        AllocateHostedConnectionResponse.Builder region​(String region)

        The Amazon Web Services Region where the connection is located.

        Parameters:
        region - The Amazon Web Services Region where the connection is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        AllocateHostedConnectionResponse.Builder location​(String location)

        The location of the connection.

        Parameters:
        location - The location of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bandwidth

        AllocateHostedConnectionResponse.Builder bandwidth​(String bandwidth)

        The bandwidth of the connection.

        Parameters:
        bandwidth - The bandwidth of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • partnerName

        AllocateHostedConnectionResponse.Builder partnerName​(String partnerName)

        The name of the Direct Connect service provider associated with the connection.

        Parameters:
        partnerName - The name of the Direct Connect service provider associated with the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • loaIssueTime

        AllocateHostedConnectionResponse.Builder loaIssueTime​(Instant loaIssueTime)

        The time of the most recent call to DescribeLoa for this connection.

        Parameters:
        loaIssueTime - The time of the most recent call to DescribeLoa for this connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsDevice

        AllocateHostedConnectionResponse.Builder awsDevice​(String awsDevice)

        The Direct Connect endpoint on which the physical connection terminates.

        Parameters:
        awsDevice - The Direct Connect endpoint on which the physical connection terminates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jumboFrameCapable

        AllocateHostedConnectionResponse.Builder jumboFrameCapable​(Boolean jumboFrameCapable)

        Indicates whether jumbo frames are supported.

        Parameters:
        jumboFrameCapable - Indicates whether jumbo frames are supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsDeviceV2

        AllocateHostedConnectionResponse.Builder awsDeviceV2​(String awsDeviceV2)

        The Direct Connect endpoint that terminates the physical connection.

        Parameters:
        awsDeviceV2 - The Direct Connect endpoint that terminates the physical connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsLogicalDeviceId

        AllocateHostedConnectionResponse.Builder awsLogicalDeviceId​(String awsLogicalDeviceId)

        The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.

        Parameters:
        awsLogicalDeviceId - The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hasLogicalRedundancy

        AllocateHostedConnectionResponse.Builder hasLogicalRedundancy​(String hasLogicalRedundancy)

        Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).

        Parameters:
        hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HasLogicalRedundancy, HasLogicalRedundancy
      • hasLogicalRedundancy

        AllocateHostedConnectionResponse.Builder hasLogicalRedundancy​(HasLogicalRedundancy hasLogicalRedundancy)

        Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).

        Parameters:
        hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HasLogicalRedundancy, HasLogicalRedundancy
      • tags

        AllocateHostedConnectionResponse.Builder tags​(Collection<Tag> tags)

        The tags associated with the connection.

        Parameters:
        tags - The tags associated with the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        AllocateHostedConnectionResponse.Builder tags​(Tag... tags)

        The tags associated with the connection.

        Parameters:
        tags - The tags associated with the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • providerName

        AllocateHostedConnectionResponse.Builder providerName​(String providerName)

        The name of the service provider associated with the connection.

        Parameters:
        providerName - The name of the service provider associated with the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macSecCapable

        AllocateHostedConnectionResponse.Builder macSecCapable​(Boolean macSecCapable)

        Indicates whether the connection supports MAC Security (MACsec).

        Parameters:
        macSecCapable - Indicates whether the connection supports MAC Security (MACsec).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • portEncryptionStatus

        AllocateHostedConnectionResponse.Builder portEncryptionStatus​(String portEncryptionStatus)

        The MAC Security (MACsec) port link status of the connection.

        The valid values are Encryption Up, which means that there is an active Connection Key Name, or Encryption Down.

        Parameters:
        portEncryptionStatus - The MAC Security (MACsec) port link status of the connection.

        The valid values are Encryption Up, which means that there is an active Connection Key Name, or Encryption Down.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionMode

        AllocateHostedConnectionResponse.Builder encryptionMode​(String encryptionMode)

        The MAC Security (MACsec) connection encryption mode.

        The valid values are no_encrypt, should_encrypt, and must_encrypt.

        Parameters:
        encryptionMode - The MAC Security (MACsec) connection encryption mode.

        The valid values are no_encrypt, should_encrypt, and must_encrypt.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macSecKeys

        AllocateHostedConnectionResponse.Builder macSecKeys​(Collection<MacSecKey> macSecKeys)

        The MAC Security (MACsec) security keys associated with the connection.

        Parameters:
        macSecKeys - The MAC Security (MACsec) security keys associated with the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macSecKeys

        AllocateHostedConnectionResponse.Builder macSecKeys​(MacSecKey... macSecKeys)

        The MAC Security (MACsec) security keys associated with the connection.

        Parameters:
        macSecKeys - The MAC Security (MACsec) security keys associated with the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.