public class CampaignState extends Object implements Serializable
| Constructor and Description |
|---|
CampaignState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCampaignStatus()
The status of the campaign, or the status of a treatment that belongs to
an A/B test campaign.
|
int |
hashCode() |
void |
setCampaignStatus(CampaignStatus campaignStatus)
The status of the campaign, or the status of a treatment that belongs to
an A/B test campaign.
|
void |
setCampaignStatus(String campaignStatus)
The status of the campaign, or the status of a treatment that belongs to
an A/B test campaign.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CampaignState |
withCampaignStatus(CampaignStatus campaignStatus)
The status of the campaign, or the status of a treatment that belongs to
an A/B test campaign.
|
CampaignState |
withCampaignStatus(String campaignStatus)
The status of the campaign, or the status of a treatment that belongs to
an A/B test campaign.
|
public String getCampaignStatus()
Constraints:
Allowed Values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED,
PAUSED
CampaignStatuspublic void setCampaignStatus(String campaignStatus)
Constraints:
Allowed Values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED,
PAUSED
campaignStatus - The status of the campaign, or the status of a
treatment that belongs to an A/B test campaign. Valid values:
SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSEDCampaignStatuspublic CampaignState withCampaignStatus(String campaignStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED,
PAUSED
campaignStatus - The status of the campaign, or the status of a
treatment that belongs to an A/B test campaign. Valid values:
SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSEDCampaignStatuspublic void setCampaignStatus(CampaignStatus campaignStatus)
Constraints:
Allowed Values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED,
PAUSED
campaignStatus - The status of the campaign, or the status of a
treatment that belongs to an A/B test campaign. Valid values:
SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSEDCampaignStatuspublic CampaignState withCampaignStatus(CampaignStatus campaignStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED,
PAUSED
campaignStatus - The status of the campaign, or the status of a
treatment that belongs to an A/B test campaign. Valid values:
SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSEDCampaignStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.