@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignState extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status of a campaign.
Constructor and Description |
---|
CampaignState() |
Modifier and Type | Method and Description |
---|---|
CampaignState |
clone() |
boolean |
equals(Object obj) |
String |
getCampaignStatus()
The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCampaignStatus(CampaignStatus campaignStatus)
The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.
|
void |
setCampaignStatus(String campaignStatus)
The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.
|
String |
toString()
Returns a string representation of this object.
|
CampaignState |
withCampaignStatus(CampaignStatus campaignStatus)
The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.
|
CampaignState |
withCampaignStatus(String campaignStatus)
The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.
|
public void setCampaignStatus(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.
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.
CampaignStatus
public String getCampaignStatus()
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.
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.
CampaignStatus
public CampaignState withCampaignStatus(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.
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.
CampaignStatus
public void setCampaignStatus(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.
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.
CampaignStatus
public CampaignState withCampaignStatus(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.
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.
CampaignStatus
public String toString()
toString
in class Object
Object.toString()
public CampaignState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.