Interface CreateCampaignRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCampaignsRequest.Builder,CopyableBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>,SdkBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCampaignRequest
public static interface CreateCampaignRequest.Builder extends ConnectCampaignsRequest.Builder, SdkPojo, CopyableBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCampaignRequest.BuilderconnectInstanceId(String connectInstanceId)Sets the value of the ConnectInstanceId property for this object.default CreateCampaignRequest.BuilderdialerConfig(Consumer<DialerConfig.Builder> dialerConfig)Sets the value of the DialerConfig property for this object.CreateCampaignRequest.BuilderdialerConfig(DialerConfig dialerConfig)Sets the value of the DialerConfig property for this object.CreateCampaignRequest.Buildername(String name)Sets the value of the Name property for this object.default CreateCampaignRequest.BuilderoutboundCallConfig(Consumer<OutboundCallConfig.Builder> outboundCallConfig)Sets the value of the OutboundCallConfig property for this object.CreateCampaignRequest.BuilderoutboundCallConfig(OutboundCallConfig outboundCallConfig)Sets the value of the OutboundCallConfig property for this object.CreateCampaignRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCampaignRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCampaignRequest.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.-
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 Detail
-
name
CreateCampaignRequest.Builder name(String name)
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectInstanceId
CreateCampaignRequest.Builder connectInstanceId(String connectInstanceId)
Sets the value of the ConnectInstanceId property for this object.- Parameters:
connectInstanceId- The new value for the ConnectInstanceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialerConfig
CreateCampaignRequest.Builder dialerConfig(DialerConfig dialerConfig)
Sets the value of the DialerConfig property for this object.- Parameters:
dialerConfig- The new value for the DialerConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialerConfig
default CreateCampaignRequest.Builder dialerConfig(Consumer<DialerConfig.Builder> dialerConfig)
Sets the value of the DialerConfig property for this object. This is a convenience method that creates an instance of theDialerConfig.Builderavoiding the need to create one manually viaDialerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todialerConfig(DialerConfig).- Parameters:
dialerConfig- a consumer that will call methods onDialerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dialerConfig(DialerConfig)
-
outboundCallConfig
CreateCampaignRequest.Builder outboundCallConfig(OutboundCallConfig outboundCallConfig)
Sets the value of the OutboundCallConfig property for this object.- Parameters:
outboundCallConfig- The new value for the OutboundCallConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundCallConfig
default CreateCampaignRequest.Builder outboundCallConfig(Consumer<OutboundCallConfig.Builder> outboundCallConfig)
Sets the value of the OutboundCallConfig property for this object. This is a convenience method that creates an instance of theOutboundCallConfig.Builderavoiding the need to create one manually viaOutboundCallConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutboundCallConfig(OutboundCallConfig).- Parameters:
outboundCallConfig- a consumer that will call methods onOutboundCallConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outboundCallConfig(OutboundCallConfig)
-
tags
CreateCampaignRequest.Builder tags(Map<String,String> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCampaignRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCampaignRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-