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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OriginationRoute.Builderhost(String host)The FQDN or IP address to contact for origination traffic.OriginationRoute.Builderport(Integer port)The designated origination route port.OriginationRoute.Builderpriority(Integer priority)The priority associated with the host, with 1 being the highest priority.OriginationRoute.Builderprotocol(String protocol)The protocol to use for the origination route.OriginationRoute.Builderprotocol(OriginationRouteProtocol protocol)The protocol to use for the origination route.OriginationRoute.Builderweight(Integer weight)The weight assigned to an origination route.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
host
OriginationRoute.Builder host(String 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
OriginationRoute.Builder port(Integer 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 SDK Voice Connectors use TCP protocol by default.
- Parameters:
protocol- The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OriginationRouteProtocol,OriginationRouteProtocol
-
protocol
OriginationRoute.Builder protocol(OriginationRouteProtocol protocol)
The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.
- Parameters:
protocol- The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OriginationRouteProtocol,OriginationRouteProtocol
-
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
OriginationRoute.Builder weight(Integer weight)
The weight assigned to an origination route. When hosts have equal priority, calls are distributed between them based on their relative weights.
- Parameters:
weight- The weight assigned to an origination route. When hosts have equal priority, calls are distributed between them based on their relative weights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-