Interface CampaignSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignSummary.Builder,CampaignSummary>,SdkBuilder<CampaignSummary.Builder,CampaignSummary>,SdkPojo
- Enclosing class:
- CampaignSummary
public static interface CampaignSummary.Builder extends SdkPojo, CopyableBuilder<CampaignSummary.Builder,CampaignSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CampaignSummary.Builderarn(String arn)Sets the value of the Arn property for this object.CampaignSummary.BuilderchannelSubtypes(Collection<ChannelSubtype> channelSubtypes)Sets the value of the ChannelSubtypes property for this object.CampaignSummary.BuilderchannelSubtypes(ChannelSubtype... channelSubtypes)Sets the value of the ChannelSubtypes property for this object.CampaignSummary.BuilderchannelSubtypesWithStrings(String... channelSubtypes)Sets the value of the ChannelSubtypes property for this object.CampaignSummary.BuilderchannelSubtypesWithStrings(Collection<String> channelSubtypes)Sets the value of the ChannelSubtypes property for this object.CampaignSummary.BuilderconnectCampaignFlowArn(String connectCampaignFlowArn)Sets the value of the ConnectCampaignFlowArn property for this object.CampaignSummary.BuilderconnectInstanceId(String connectInstanceId)Sets the value of the ConnectInstanceId property for this object.CampaignSummary.Builderid(String id)Sets the value of the Id property for this object.CampaignSummary.Buildername(String name)Sets the value of the Name property for this object.default CampaignSummary.Builderschedule(Consumer<Schedule.Builder> schedule)Sets the value of the Schedule property for this object.CampaignSummary.Builderschedule(Schedule schedule)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 Detail
-
id
CampaignSummary.Builder id(String 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
CampaignSummary.Builder arn(String 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
CampaignSummary.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
CampaignSummary.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.
-
channelSubtypesWithStrings
CampaignSummary.Builder channelSubtypesWithStrings(Collection<String> 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.
-
channelSubtypesWithStrings
CampaignSummary.Builder channelSubtypesWithStrings(String... 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
CampaignSummary.Builder channelSubtypes(Collection<ChannelSubtype> 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
CampaignSummary.Builder channelSubtypes(ChannelSubtype... 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
CampaignSummary.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 CampaignSummary.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)
-
connectCampaignFlowArn
CampaignSummary.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.
-
-