Interface CreateCampaignRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCampaignsV2Request.Builder,CopyableBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>,SdkBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCampaignRequest
public static interface CreateCampaignRequest.Builder extends ConnectCampaignsV2Request.Builder, SdkPojo, CopyableBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCampaignRequest.BuilderchannelSubtypeConfig(Consumer<ChannelSubtypeConfig.Builder> channelSubtypeConfig)Sets the value of the ChannelSubtypeConfig property for this object.CreateCampaignRequest.BuilderchannelSubtypeConfig(ChannelSubtypeConfig channelSubtypeConfig)Sets the value of the ChannelSubtypeConfig property for this object.default CreateCampaignRequest.BuildercommunicationLimitsOverride(Consumer<CommunicationLimitsConfig.Builder> communicationLimitsOverride)Sets the value of the CommunicationLimitsOverride property for this object.CreateCampaignRequest.BuildercommunicationLimitsOverride(CommunicationLimitsConfig communicationLimitsOverride)Sets the value of the CommunicationLimitsOverride property for this object.default CreateCampaignRequest.BuildercommunicationTimeConfig(Consumer<CommunicationTimeConfig.Builder> communicationTimeConfig)Sets the value of the CommunicationTimeConfig property for this object.CreateCampaignRequest.BuildercommunicationTimeConfig(CommunicationTimeConfig communicationTimeConfig)Sets the value of the CommunicationTimeConfig property for this object.CreateCampaignRequest.BuilderconnectCampaignFlowArn(String connectCampaignFlowArn)Sets the value of the ConnectCampaignFlowArn property for this object.CreateCampaignRequest.BuilderconnectInstanceId(String connectInstanceId)Sets the value of the ConnectInstanceId property for this object.CreateCampaignRequest.Buildername(String name)Sets the value of the Name property for this object.CreateCampaignRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCampaignRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateCampaignRequest.Builderschedule(Consumer<Schedule.Builder> schedule)Sets the value of the Schedule property for this object.CreateCampaignRequest.Builderschedule(Schedule schedule)Sets the value of the Schedule property for this object.default CreateCampaignRequest.Buildersource(Consumer<Source.Builder> source)Sets the value of the Source property for this object.CreateCampaignRequest.Buildersource(Source source)Sets the value of the Source property for this object.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.connectcampaignsv2.model.ConnectCampaignsV2Request.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, sdkFieldNameToField, 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.
-
channelSubtypeConfig
CreateCampaignRequest.Builder channelSubtypeConfig(ChannelSubtypeConfig channelSubtypeConfig)
Sets the value of the ChannelSubtypeConfig property for this object.- Parameters:
channelSubtypeConfig- The new value for the ChannelSubtypeConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtypeConfig
default CreateCampaignRequest.Builder channelSubtypeConfig(Consumer<ChannelSubtypeConfig.Builder> channelSubtypeConfig)
Sets the value of the ChannelSubtypeConfig property for this object. This is a convenience method that creates an instance of theChannelSubtypeConfig.Builderavoiding the need to create one manually viaChannelSubtypeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelSubtypeConfig(ChannelSubtypeConfig).- Parameters:
channelSubtypeConfig- a consumer that will call methods onChannelSubtypeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
channelSubtypeConfig(ChannelSubtypeConfig)
-
source
CreateCampaignRequest.Builder source(Source source)
Sets the value of the Source property for this object.- Parameters:
source- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default CreateCampaignRequest.Builder source(Consumer<Source.Builder> source)
Sets the value of the Source property for this object. This is a convenience method that creates an instance of theSource.Builderavoiding the need to create one manually viaSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(Source).- Parameters:
source- a consumer that will call methods onSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(Source)
-
connectCampaignFlowArn
CreateCampaignRequest.Builder connectCampaignFlowArn(String connectCampaignFlowArn)
Sets the value of the ConnectCampaignFlowArn property for this object.- Parameters:
connectCampaignFlowArn- The new value for the ConnectCampaignFlowArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
CreateCampaignRequest.Builder schedule(Schedule schedule)
Sets the value of the Schedule property for this object.- Parameters:
schedule- The new value for the Schedule property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default CreateCampaignRequest.Builder schedule(Consumer<Schedule.Builder> schedule)
Sets the value of the Schedule property for this object. This is a convenience method that creates an instance of theSchedule.Builderavoiding the need to create one manually viaSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(Schedule).- Parameters:
schedule- a consumer that will call methods onSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schedule(Schedule)
-
communicationTimeConfig
CreateCampaignRequest.Builder communicationTimeConfig(CommunicationTimeConfig communicationTimeConfig)
Sets the value of the CommunicationTimeConfig property for this object.- Parameters:
communicationTimeConfig- The new value for the CommunicationTimeConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communicationTimeConfig
default CreateCampaignRequest.Builder communicationTimeConfig(Consumer<CommunicationTimeConfig.Builder> communicationTimeConfig)
Sets the value of the CommunicationTimeConfig property for this object. This is a convenience method that creates an instance of theCommunicationTimeConfig.Builderavoiding the need to create one manually viaCommunicationTimeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommunicationTimeConfig(CommunicationTimeConfig).- Parameters:
communicationTimeConfig- a consumer that will call methods onCommunicationTimeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
communicationTimeConfig(CommunicationTimeConfig)
-
communicationLimitsOverride
CreateCampaignRequest.Builder communicationLimitsOverride(CommunicationLimitsConfig communicationLimitsOverride)
Sets the value of the CommunicationLimitsOverride property for this object.- Parameters:
communicationLimitsOverride- The new value for the CommunicationLimitsOverride property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communicationLimitsOverride
default CreateCampaignRequest.Builder communicationLimitsOverride(Consumer<CommunicationLimitsConfig.Builder> communicationLimitsOverride)
Sets the value of the CommunicationLimitsOverride property for this object. This is a convenience method that creates an instance of theCommunicationLimitsConfig.Builderavoiding the need to create one manually viaCommunicationLimitsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommunicationLimitsOverride(CommunicationLimitsConfig).- Parameters:
communicationLimitsOverride- a consumer that will call methods onCommunicationLimitsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
communicationLimitsOverride(CommunicationLimitsConfig)
-
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
-
-