@Generated(value="software.amazon.awssdk:codegen") public final class OriginationRoute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OriginationRoute.Builder,OriginationRoute>
Origination routes define call distribution properties for your SIP hosts to receive inbound calls using an Amazon Chime SDK Voice Connector. Limit: Ten origination routes for each Voice Connector.
The parameters listed below are not required, but you must use at least one.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OriginationRoute.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OriginationRoute.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
host()
The FQDN or IP address to contact for origination traffic.
|
Integer |
port()
The designated origination route port.
|
Integer |
priority()
The priority associated with the host, with 1 being the highest priority.
|
OriginationRouteProtocol |
protocol()
The protocol to use for the origination route.
|
String |
protocolAsString()
The protocol to use for the origination route.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OriginationRoute.Builder> |
serializableBuilderClass() |
OriginationRoute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
weight()
The weight assigned to an origination route.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String host()
The FQDN or IP address to contact for origination traffic.
public final Integer port()
The designated origination route port. Defaults to 5060.
public final OriginationRouteProtocol protocol()
The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.
If the service returns an enum value that is not available in the current SDK version, protocol will
return OriginationRouteProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolAsString().
OriginationRouteProtocolpublic final String protocolAsString()
The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.
If the service returns an enum value that is not available in the current SDK version, protocol will
return OriginationRouteProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolAsString().
OriginationRouteProtocolpublic final Integer priority()
The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
public final Integer weight()
The weight assigned to an origination route. When hosts have equal priority, calls are distributed between them based on their relative weights.
public OriginationRoute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OriginationRoute.Builder,OriginationRoute>public static OriginationRoute.Builder builder()
public static Class<? extends OriginationRoute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.