@Generated(value="software.amazon.awssdk:codegen") public final class InAppMessageCampaign extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageCampaign.Builder,InAppMessageCampaign>
Targeted in-app message campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InAppMessageCampaign.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InAppMessageCampaign.Builder |
builder() |
String |
campaignId()
Campaign id of the corresponding campaign.
|
Integer |
dailyCap()
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InAppMessage |
inAppMessage()
In-app message content with all fields required for rendering an in-app message.
|
Integer |
priority()
Priority of the in-app message.
|
InAppCampaignSchedule |
schedule()
Schedule of the campaign.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InAppMessageCampaign.Builder> |
serializableBuilderClass() |
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.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalCap()
Total cap which controls the number of times an in-app message can be shown to the endpoint.
|
String |
treatmentId()
Treatment id of the campaign.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String campaignId()
Campaign id of the corresponding campaign.
public final Integer dailyCap()
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
public final InAppMessage inAppMessage()
In-app message content with all fields required for rendering an in-app message.
public final Integer priority()
Priority of the in-app message.
public final InAppCampaignSchedule schedule()
Schedule of the campaign.
public final Integer sessionCap()
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
public final Integer totalCap()
Total cap which controls the number of times an in-app message can be shown to the endpoint.
public final String treatmentId()
Treatment id of the campaign.
public InAppMessageCampaign.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InAppMessageCampaign.Builder,InAppMessageCampaign>public static InAppMessageCampaign.Builder builder()
public static Class<? extends InAppMessageCampaign.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.