@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InAppMessageCampaign extends Object implements Serializable, Cloneable, StructuredPojo
Targeted in-app message campaign.
Constructor and Description |
---|
InAppMessageCampaign() |
Modifier and Type | Method and Description |
---|---|
InAppMessageCampaign |
clone() |
boolean |
equals(Object obj) |
String |
getCampaignId()
Campaign id of the corresponding campaign.
|
Integer |
getDailyCap()
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
|
InAppMessage |
getInAppMessage()
In-app message content with all fields required for rendering an in-app message.
|
Integer |
getPriority()
Priority of the in-app message.
|
InAppCampaignSchedule |
getSchedule()
Schedule of the campaign.
|
Integer |
getSessionCap()
Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.
|
Integer |
getTotalCap()
Total cap which controls the number of times an in-app message can be shown to the endpoint.
|
String |
getTreatmentId()
Treatment id of the campaign.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCampaignId(String campaignId)
Campaign id of the corresponding campaign.
|
void |
setDailyCap(Integer dailyCap)
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
|
void |
setInAppMessage(InAppMessage inAppMessage)
In-app message content with all fields required for rendering an in-app message.
|
void |
setPriority(Integer priority)
Priority of the in-app message.
|
void |
setSchedule(InAppCampaignSchedule schedule)
Schedule of the campaign.
|
void |
setSessionCap(Integer sessionCap)
Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.
|
void |
setTotalCap(Integer totalCap)
Total cap which controls the number of times an in-app message can be shown to the endpoint.
|
void |
setTreatmentId(String treatmentId)
Treatment id of the campaign.
|
String |
toString()
Returns a string representation of this object.
|
InAppMessageCampaign |
withCampaignId(String campaignId)
Campaign id of the corresponding campaign.
|
InAppMessageCampaign |
withDailyCap(Integer dailyCap)
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
|
InAppMessageCampaign |
withInAppMessage(InAppMessage inAppMessage)
In-app message content with all fields required for rendering an in-app message.
|
InAppMessageCampaign |
withPriority(Integer priority)
Priority of the in-app message.
|
InAppMessageCampaign |
withSchedule(InAppCampaignSchedule schedule)
Schedule of the campaign.
|
InAppMessageCampaign |
withSessionCap(Integer sessionCap)
Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.
|
InAppMessageCampaign |
withTotalCap(Integer totalCap)
Total cap which controls the number of times an in-app message can be shown to the endpoint.
|
InAppMessageCampaign |
withTreatmentId(String treatmentId)
Treatment id of the campaign.
|
public void setCampaignId(String campaignId)
Campaign id of the corresponding campaign.
campaignId
- Campaign id of the corresponding campaign.public String getCampaignId()
Campaign id of the corresponding campaign.
public InAppMessageCampaign withCampaignId(String campaignId)
Campaign id of the corresponding campaign.
campaignId
- Campaign id of the corresponding campaign.public void setDailyCap(Integer dailyCap)
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
dailyCap
- Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a
day.public Integer getDailyCap()
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
public InAppMessageCampaign withDailyCap(Integer dailyCap)
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
dailyCap
- Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a
day.public void setInAppMessage(InAppMessage inAppMessage)
In-app message content with all fields required for rendering an in-app message.
inAppMessage
- In-app message content with all fields required for rendering an in-app message.public InAppMessage getInAppMessage()
In-app message content with all fields required for rendering an in-app message.
public InAppMessageCampaign withInAppMessage(InAppMessage inAppMessage)
In-app message content with all fields required for rendering an in-app message.
inAppMessage
- In-app message content with all fields required for rendering an in-app message.public void setPriority(Integer priority)
Priority of the in-app message.
priority
- Priority of the in-app message.public Integer getPriority()
Priority of the in-app message.
public InAppMessageCampaign withPriority(Integer priority)
Priority of the in-app message.
priority
- Priority of the in-app message.public void setSchedule(InAppCampaignSchedule schedule)
Schedule of the campaign.
schedule
- Schedule of the campaign.public InAppCampaignSchedule getSchedule()
Schedule of the campaign.
public InAppMessageCampaign withSchedule(InAppCampaignSchedule schedule)
Schedule of the campaign.
schedule
- Schedule of the campaign.public void setSessionCap(Integer sessionCap)
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
sessionCap
- Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.public Integer getSessionCap()
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
public InAppMessageCampaign withSessionCap(Integer sessionCap)
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
sessionCap
- Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.public void setTotalCap(Integer totalCap)
Total cap which controls the number of times an in-app message can be shown to the endpoint.
totalCap
- Total cap which controls the number of times an in-app message can be shown to the endpoint.public Integer getTotalCap()
Total cap which controls the number of times an in-app message can be shown to the endpoint.
public InAppMessageCampaign withTotalCap(Integer totalCap)
Total cap which controls the number of times an in-app message can be shown to the endpoint.
totalCap
- Total cap which controls the number of times an in-app message can be shown to the endpoint.public void setTreatmentId(String treatmentId)
Treatment id of the campaign.
treatmentId
- Treatment id of the campaign.public String getTreatmentId()
Treatment id of the campaign.
public InAppMessageCampaign withTreatmentId(String treatmentId)
Treatment id of the campaign.
treatmentId
- Treatment id of the campaign.public String toString()
toString
in class Object
Object.toString()
public InAppMessageCampaign clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.