Interface InAppMessageCampaign.Builder

    • Method Detail

      • campaignId

        InAppMessageCampaign.Builder campaignId​(String campaignId)

        Campaign 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.
      • dailyCap

        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.

        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.
      • inAppMessage

        InAppMessageCampaign.Builder inAppMessage​(InAppMessage inAppMessage)

        In-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.
      • priority

        InAppMessageCampaign.Builder priority​(Integer priority)

        Priority 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.
      • schedule

        InAppMessageCampaign.Builder schedule​(InAppCampaignSchedule schedule)

        Schedule of the campaign.

        Parameters:
        schedule - Schedule of the campaign.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionCap

        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.

        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.
      • totalCap

        InAppMessageCampaign.Builder totalCap​(Integer totalCap)

        Total 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.
      • treatmentId

        InAppMessageCampaign.Builder treatmentId​(String treatmentId)

        Treatment 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.