Interface Campaign.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Campaign.Builder,,Campaign> SdkBuilder<Campaign.Builder,,Campaign> SdkPojo
- Enclosing class:
Campaign
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Arn property for this object.default Campaign.BuilderchannelSubtypeConfig(Consumer<ChannelSubtypeConfig.Builder> channelSubtypeConfig) Sets the value of the ChannelSubtypeConfig property for this object.channelSubtypeConfig(ChannelSubtypeConfig channelSubtypeConfig) Sets the value of the ChannelSubtypeConfig property for this object.default Campaign.BuildercommunicationLimitsOverride(Consumer<CommunicationLimitsConfig.Builder> communicationLimitsOverride) Sets the value of the CommunicationLimitsOverride property for this object.communicationLimitsOverride(CommunicationLimitsConfig communicationLimitsOverride) Sets the value of the CommunicationLimitsOverride property for this object.default Campaign.BuildercommunicationTimeConfig(Consumer<CommunicationTimeConfig.Builder> communicationTimeConfig) Sets the value of the CommunicationTimeConfig property for this object.communicationTimeConfig(CommunicationTimeConfig communicationTimeConfig) Sets the value of the CommunicationTimeConfig property for this object.connectCampaignFlowArn(String connectCampaignFlowArn) Sets the value of the ConnectCampaignFlowArn property for this object.connectInstanceId(String connectInstanceId) Sets the value of the ConnectInstanceId property for this object.default Campaign.BuilderentryLimitsConfig(Consumer<EntryLimitsConfig.Builder> entryLimitsConfig) Sets the value of the EntryLimitsConfig property for this object.entryLimitsConfig(EntryLimitsConfig entryLimitsConfig) Sets the value of the EntryLimitsConfig property for this object.Sets the value of the Id property for this object.Sets the value of the Name property for this object.default Campaign.Builderschedule(Consumer<Schedule.Builder> schedule) Sets the value of the Schedule property for this object.Sets the value of the Schedule property for this object.default Campaign.Buildersource(Consumer<Source.Builder> source) Sets the value of the Source property for this object.Sets the value of the Source property for this object.Sets the value of the Tags property for this object.Sets the value of the Type property for this object.type(ExternalCampaignType type) Sets the value of the Type 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
-
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.
-
arn
Sets the value of the Arn property for this object.- Parameters:
arn- The new value for the Arn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 Campaign.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:
-
type
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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
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
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:
-
entryLimitsConfig
Sets the value of the EntryLimitsConfig property for this object.- Parameters:
entryLimitsConfig- The new value for the EntryLimitsConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entryLimitsConfig
Sets the value of the EntryLimitsConfig property for this object. This is a convenience method that creates an instance of theEntryLimitsConfig.Builderavoiding the need to create one manually viaEntryLimitsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentryLimitsConfig(EntryLimitsConfig).- Parameters:
entryLimitsConfig- a consumer that will call methods onEntryLimitsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Campaign.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:
-
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 Campaign.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:
-
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.
-