Class OriginationRoute
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OriginationRoute.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringhost()The FQDN or IP address to contact for origination traffic.final Integerport()The designated origination route port.final Integerpriority()The priority associated with the host, with 1 being the highest priority.final OriginationRouteProtocolprotocol()The protocol to use for the origination route.final StringThe protocol to use for the origination route.static Class<? extends OriginationRoute.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Integerweight()The weight assigned to an origination route.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
host
The FQDN or IP address to contact for origination traffic.
- Returns:
- The FQDN or IP address to contact for origination traffic.
-
port
The designated origination route port. Defaults to 5060.
- Returns:
- The designated origination route port. Defaults to 5060.
-
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,
protocolwill returnOriginationRouteProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.
- See Also:
-
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,
protocolwill returnOriginationRouteProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default.
- See Also:
-
priority
The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
- Returns:
- The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
-
weight
The weight assigned to an origination route. When hosts have equal priority, calls are distributed between them based on their relative weights.
- Returns:
- The weight assigned to an origination route. When hosts have equal priority, calls are distributed between them based on their relative weights.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<OriginationRoute.Builder,OriginationRoute> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-