Interface OriginationRoute.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OriginationRoute.Builder,OriginationRoute>, SdkBuilder<OriginationRoute.Builder,OriginationRoute>, SdkPojo
Enclosing class:
OriginationRoute

public static interface OriginationRoute.Builder extends SdkPojo, CopyableBuilder<OriginationRoute.Builder,OriginationRoute>
  • Method Details

    • host

      The FQDN or IP address to contact for origination traffic.

      Parameters:
      host - The FQDN or IP address to contact for origination traffic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The designated origination route port. Defaults to 5060.

      Parameters:
      port - The designated origination route port. Defaults to 5060.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      OriginationRoute.Builder protocol(String protocol)

      The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.

      Parameters:
      protocol - The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.

      Parameters:
      protocol - The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • priority

      OriginationRoute.Builder priority(Integer priority)

      The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.

      Parameters:
      priority - The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • weight

      The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.

      Parameters:
      weight - The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.
      Returns:
      Returns a reference to this object so that method calls can be chained together.