Interface CampaignSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CampaignSummary.Builder,
,CampaignSummary> SdkBuilder<CampaignSummary.Builder,
,CampaignSummary> SdkPojo
- Enclosing class:
CampaignSummary
@Mutable
@NotThreadSafe
public static interface CampaignSummary.Builder
extends SdkPojo, CopyableBuilder<CampaignSummary.Builder,CampaignSummary>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Arn property for this object.channelSubtypes
(Collection<ChannelSubtype> channelSubtypes) Sets the value of the ChannelSubtypes property for this object.channelSubtypes
(ChannelSubtype... channelSubtypes) Sets the value of the ChannelSubtypes property for this object.channelSubtypesWithStrings
(String... channelSubtypes) Sets the value of the ChannelSubtypes property for this object.channelSubtypesWithStrings
(Collection<String> channelSubtypes) Sets the value of the ChannelSubtypes 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.Sets the value of the Id property for this object.Sets the value of the Name property for this object.default CampaignSummary.Builder
schedule
(Consumer<Schedule.Builder> schedule) Sets the value of the Schedule property for this object.Sets the value of the Schedule property for this object.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 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.
-
channelSubtypesWithStrings
Sets the value of the ChannelSubtypes property for this object.- Parameters:
channelSubtypes
- The new value for the ChannelSubtypes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtypesWithStrings
Sets the value of the ChannelSubtypes property for this object.- Parameters:
channelSubtypes
- The new value for the ChannelSubtypes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtypes
Sets the value of the ChannelSubtypes property for this object.- Parameters:
channelSubtypes
- The new value for the ChannelSubtypes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtypes
Sets the value of the ChannelSubtypes property for this object.- Parameters:
channelSubtypes
- The new value for the ChannelSubtypes 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.Builder
avoiding the need to create one manually viaSchedule.builder()
.When the
Consumer
completes,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:
-
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.
-