Interface CampaignState.Builder

    • Method Detail

      • campaignStatus

        CampaignState.Builder campaignStatus​(String campaignStatus)

        The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

        If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.

        Parameters:
        campaignStatus - The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

        If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CampaignStatus, CampaignStatus
      • campaignStatus

        CampaignState.Builder campaignStatus​(CampaignStatus campaignStatus)

        The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

        If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.

        Parameters:
        campaignStatus - The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

        If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CampaignStatus, CampaignStatus