Class InAppMessageCampaign
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.InAppMessageCampaign
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InAppMessageCampaign.Builder,InAppMessageCampaign>
@Generated("software.amazon.awssdk:codegen") public final class InAppMessageCampaign extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageCampaign.Builder,InAppMessageCampaign>
Targeted in-app message campaign.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInAppMessageCampaign.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InAppMessageCampaign.Builderbuilder()StringcampaignId()Campaign id of the corresponding campaign.IntegerdailyCap()Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InAppMessageinAppMessage()In-app message content with all fields required for rendering an in-app message.Integerpriority()Priority of the in-app message.InAppCampaignScheduleschedule()Schedule of the campaign.List<SdkField<?>>sdkFields()static Class<? extends InAppMessageCampaign.Builder>serializableBuilderClass()IntegersessionCap()Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.InAppMessageCampaign.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalCap()Total cap which controls the number of times an in-app message can be shown to the endpoint.StringtreatmentId()Treatment id of the campaign.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
campaignId
public final String campaignId()
Campaign id of the corresponding campaign.
- Returns:
- Campaign id of the corresponding campaign.
-
dailyCap
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.
- Returns:
- Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
-
inAppMessage
public final InAppMessage inAppMessage()
In-app message content with all fields required for rendering an in-app message.
- Returns:
- In-app message content with all fields required for rendering an in-app message.
-
priority
public final Integer priority()
Priority of the in-app message.
- Returns:
- Priority of the in-app message.
-
schedule
public final InAppCampaignSchedule schedule()
Schedule of the campaign.
- Returns:
- Schedule of the campaign.
-
sessionCap
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.
- Returns:
- Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
-
totalCap
public final Integer totalCap()
Total cap which controls the number of times an in-app message can be shown to the endpoint.
- Returns:
- Total cap which controls the number of times an in-app message can be shown to the endpoint.
-
treatmentId
public final String treatmentId()
Treatment id of the campaign.
- Returns:
- Treatment id of the campaign.
-
toBuilder
public InAppMessageCampaign.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InAppMessageCampaign.Builder,InAppMessageCampaign>
-
builder
public static InAppMessageCampaign.Builder builder()
-
serializableBuilderClass
public static Class<? extends InAppMessageCampaign.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-