Interface UpdateCampaignOutboundCallConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCampaignsRequest.Builder
,CopyableBuilder<UpdateCampaignOutboundCallConfigRequest.Builder,
,UpdateCampaignOutboundCallConfigRequest> SdkBuilder<UpdateCampaignOutboundCallConfigRequest.Builder,
,UpdateCampaignOutboundCallConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCampaignOutboundCallConfigRequest
public static interface UpdateCampaignOutboundCallConfigRequest.Builder
extends ConnectCampaignsRequest.Builder, SdkPojo, CopyableBuilder<UpdateCampaignOutboundCallConfigRequest.Builder,UpdateCampaignOutboundCallConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanswerMachineDetectionConfig
(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.Sets the value of the Id property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectcampaigns.model.ConnectCampaignsRequest.Builder
build
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
-
id
Sets the value of the Id property for this object.- Parameters:
id
- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
UpdateCampaignOutboundCallConfigRequest.Builder connectSourcePhoneNumber(String 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
UpdateCampaignOutboundCallConfigRequest.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 UpdateCampaignOutboundCallConfigRequest.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:
-
overrideConfiguration
UpdateCampaignOutboundCallConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCampaignOutboundCallConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-