Interface TelephonyOutboundConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TelephonyOutboundConfig.Builder,,TelephonyOutboundConfig> SdkBuilder<TelephonyOutboundConfig.Builder,,TelephonyOutboundConfig> SdkPojo
- Enclosing class:
TelephonyOutboundConfig
public static interface TelephonyOutboundConfig.Builder
extends SdkPojo, CopyableBuilder<TelephonyOutboundConfig.Builder,TelephonyOutboundConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TelephonyOutboundConfig.BuilderanswerMachineDetectionConfig(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.connectSourcePhoneNumber(String connectSourcePhoneNumber) Sets the value of the ConnectSourcePhoneNumber property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.
-
answerMachineDetectionConfig
TelephonyOutboundConfig.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 TelephonyOutboundConfig.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.Builderavoiding the need to create one manually viaAnswerMachineDetectionConfig.builder().When the
Consumercompletes,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:
-