Interface InAppMessageCampaign.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InAppMessageCampaign.Builder,,- InAppMessageCampaign> - SdkBuilder<InAppMessageCampaign.Builder,,- InAppMessageCampaign> - SdkPojo
- Enclosing class:
- InAppMessageCampaign
- 
Method SummaryModifier and TypeMethodDescriptioncampaignId(String campaignId) Campaign id of the corresponding campaign.Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.default InAppMessageCampaign.BuilderinAppMessage(Consumer<InAppMessage.Builder> inAppMessage) In-app message content with all fields required for rendering an in-app message.inAppMessage(InAppMessage inAppMessage) In-app message content with all fields required for rendering an in-app message.Priority of the in-app message.default InAppMessageCampaign.Builderschedule(Consumer<InAppCampaignSchedule.Builder> schedule) Schedule of the campaign.schedule(InAppCampaignSchedule schedule) Schedule of the campaign.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.Total cap which controls the number of times an in-app message can be shown to the endpoint.treatmentId(String treatmentId) Treatment id of the campaign.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
campaignIdCampaign id of the corresponding campaign. - Parameters:
- campaignId- Campaign id of the corresponding campaign.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dailyCapDaily cap which controls the number of times any in-app messages can be shown to the endpoint during a day. - Parameters:
- dailyCap- Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inAppMessageIn-app message content with all fields required for rendering an in-app message. - Parameters:
- inAppMessage- In-app message content with all fields required for rendering an in-app message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inAppMessageIn-app message content with all fields required for rendering an in-app message. This is a convenience method that creates an instance of theInAppMessage.Builderavoiding the need to create one manually viaInAppMessage.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinAppMessage(InAppMessage).- Parameters:
- inAppMessage- a consumer that will call methods on- InAppMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
priorityPriority of the in-app message. - Parameters:
- priority- Priority of the in-app message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scheduleSchedule of the campaign. - Parameters:
- schedule- Schedule of the campaign.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scheduleSchedule of the campaign. This is a convenience method that creates an instance of theInAppCampaignSchedule.Builderavoiding the need to create one manually viaInAppCampaignSchedule.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(InAppCampaignSchedule).- Parameters:
- schedule- a consumer that will call methods on- InAppCampaignSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sessionCapSession cap which controls the number of times an in-app message can be shown to the endpoint during an application session. - Parameters:
- sessionCap- Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
totalCapTotal cap which controls the number of times an in-app message can be shown to the endpoint. - Parameters:
- totalCap- Total cap which controls the number of times an in-app message can be shown to the endpoint.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
treatmentIdTreatment id of the campaign. - Parameters:
- treatmentId- Treatment id of the campaign.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-