Interface OutboundCallConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutboundCallConfig.Builder,
,OutboundCallConfig> SdkBuilder<OutboundCallConfig.Builder,
,OutboundCallConfig> SdkPojo
- Enclosing class:
OutboundCallConfig
public static interface OutboundCallConfig.Builder
extends SdkPojo, CopyableBuilder<OutboundCallConfig.Builder,OutboundCallConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutboundCallConfig.Builder
answerMachineDetectionConfig
(Consumer<AnswerMachineDetectionConfig.Builder> answerMachineDetectionConfig) Sets the value of the AnswerMachineDetectionConfig property for this object.answerMachineDetectionConfig
(AnswerMachineDetectionConfig answerMachineDetectionConfig) Sets the value of the AnswerMachineDetectionConfig property for this object.connectContactFlowId
(String connectContactFlowId) Sets the value of the ConnectContactFlowId property for this object.connectQueueId
(String connectQueueId) Sets the value of the ConnectQueueId property for this object.connectSourcePhoneNumber
(String connectSourcePhoneNumber) Sets the value of the ConnectSourcePhoneNumber property for this object.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
-
connectContactFlowId
Sets the value of the ConnectContactFlowId property for this object.- Parameters:
connectContactFlowId
- The new value for the ConnectContactFlowId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectSourcePhoneNumber
Sets the value of the ConnectSourcePhoneNumber property for this object.- Parameters:
connectSourcePhoneNumber
- The new value for the ConnectSourcePhoneNumber property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectQueueId
Sets the value of the ConnectQueueId property for this object.- Parameters:
connectQueueId
- The new value for the ConnectQueueId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerMachineDetectionConfig
OutboundCallConfig.Builder answerMachineDetectionConfig(AnswerMachineDetectionConfig answerMachineDetectionConfig) Sets the value of the AnswerMachineDetectionConfig property for this object.- Parameters:
answerMachineDetectionConfig
- The new value for the AnswerMachineDetectionConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerMachineDetectionConfig
default OutboundCallConfig.Builder answerMachineDetectionConfig(Consumer<AnswerMachineDetectionConfig.Builder> answerMachineDetectionConfig) Sets the value of the AnswerMachineDetectionConfig property for this object. This is a convenience method that creates an instance of theAnswerMachineDetectionConfig.Builder
avoiding the need to create one manually viaAnswerMachineDetectionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanswerMachineDetectionConfig(AnswerMachineDetectionConfig)
.- Parameters:
answerMachineDetectionConfig
- a consumer that will call methods onAnswerMachineDetectionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-