Interface CampaignState.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CampaignState.Builder,CampaignState>, SdkBuilder<CampaignState.Builder,CampaignState>, SdkPojo
Enclosing class:
CampaignState

public static interface CampaignState.Builder extends SdkPojo, CopyableBuilder<CampaignState.Builder,CampaignState>
  • Method Details

    • 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

      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: