@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 your Amazon Chime Voice Connector. Limit: Ten origination routes for each Amazon Chime 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 associated with the host.
|
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 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 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 associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.
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.