public static interface InAppMessageCampaign.Builder extends SdkPojo, CopyableBuilder<InAppMessageCampaign.Builder,InAppMessageCampaign>
| Modifier and Type | Method and Description |
|---|---|
InAppMessageCampaign.Builder |
campaignId(String campaignId)
Campaign id of the corresponding campaign.
|
InAppMessageCampaign.Builder |
dailyCap(Integer dailyCap)
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
|
default InAppMessageCampaign.Builder |
inAppMessage(Consumer<InAppMessage.Builder> inAppMessage)
In-app message content with all fields required for rendering an in-app message.
|
InAppMessageCampaign.Builder |
inAppMessage(InAppMessage inAppMessage)
In-app message content with all fields required for rendering an in-app message.
|
InAppMessageCampaign.Builder |
priority(Integer priority)
Priority of the in-app message.
|
default InAppMessageCampaign.Builder |
schedule(Consumer<InAppCampaignSchedule.Builder> schedule)
Schedule of the campaign.
|
InAppMessageCampaign.Builder |
schedule(InAppCampaignSchedule schedule)
Schedule of the campaign.
|
InAppMessageCampaign.Builder |
sessionCap(Integer sessionCap)
Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.
|
InAppMessageCampaign.Builder |
totalCap(Integer totalCap)
Total cap which controls the number of times an in-app message can be shown to the endpoint.
|
InAppMessageCampaign.Builder |
treatmentId(String treatmentId)
Treatment id of the campaign.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInAppMessageCampaign.Builder campaignId(String campaignId)
Campaign id of the corresponding campaign.
campaignId - Campaign id of the corresponding campaign.InAppMessageCampaign.Builder dailyCap(Integer dailyCap)
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
dailyCap - Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a
day.InAppMessageCampaign.Builder inAppMessage(InAppMessage inAppMessage)
In-app message content with all fields required for rendering an in-app message.
inAppMessage - In-app message content with all fields required for rendering an in-app message.default InAppMessageCampaign.Builder inAppMessage(Consumer<InAppMessage.Builder> inAppMessage)
In-app message content with all fields required for rendering an in-app message.
This is a convenience that creates an instance of theInAppMessage.Builder avoiding the need to
create one manually via InAppMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inAppMessage(InAppMessage).inAppMessage - a consumer that will call methods on InAppMessage.BuilderinAppMessage(InAppMessage)InAppMessageCampaign.Builder priority(Integer priority)
Priority of the in-app message.
priority - Priority of the in-app message.InAppMessageCampaign.Builder schedule(InAppCampaignSchedule schedule)
Schedule of the campaign.
schedule - Schedule of the campaign.default InAppMessageCampaign.Builder schedule(Consumer<InAppCampaignSchedule.Builder> schedule)
Schedule of the campaign.
This is a convenience that creates an instance of theInAppCampaignSchedule.Builder avoiding the need
to create one manually via InAppCampaignSchedule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to schedule(InAppCampaignSchedule).schedule - a consumer that will call methods on InAppCampaignSchedule.Builderschedule(InAppCampaignSchedule)InAppMessageCampaign.Builder sessionCap(Integer sessionCap)
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
sessionCap - Session cap which controls the number of times an in-app message can be shown to the endpoint during
an application session.InAppMessageCampaign.Builder totalCap(Integer totalCap)
Total cap which controls the number of times an in-app message can be shown to the endpoint.
totalCap - Total cap which controls the number of times an in-app message can be shown to the endpoint.InAppMessageCampaign.Builder treatmentId(String treatmentId)
Treatment id of the campaign.
treatmentId - Treatment id of the campaign.Copyright © 2021. All rights reserved.