Interface Origination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Origination.Builder,
,Origination> SdkBuilder<Origination.Builder,
,Origination> SdkPojo
- Enclosing class:
Origination
-
Method Summary
Modifier and TypeMethodDescriptionWhen origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.routes
(Collection<OriginationRoute> routes) The call distribution properties defined for your SIP hosts.routes
(Consumer<OriginationRoute.Builder>... routes) The call distribution properties defined for your SIP hosts.routes
(OriginationRoute... routes) The call distribution properties defined for your SIP hosts.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, sdkFields
-
Method Details
-
routes
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or
Disabled
.- Parameters:
routes
- The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter orDisabled
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or
Disabled
.- Parameters:
routes
- The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter orDisabled
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or
This is a convenience method that creates an instance of theDisabled
.OriginationRoute.Builder
avoiding the need to create one manually viaOriginationRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutes(List<OriginationRoute>)
.- Parameters:
routes
- a consumer that will call methods onOriginationRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disabled
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This parameter is not required, but you must specify this parameter or
Routes
.- Parameters:
disabled
- When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This parameter is not required, but you must specify this parameter orRoutes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-