Interface CfnCampaign.InAppMessageContentProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCampaign.InAppMessageContentProperty.Jsii$Proxy
Enclosing class:
CfnCampaign

@Stability(Stable) public static interface CfnCampaign.InAppMessageContentProperty extends software.amazon.jsii.JsiiSerializable
Specifies the configuration and contents of an in-app message.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.pinpoint.*;
 InAppMessageContentProperty inAppMessageContentProperty = InAppMessageContentProperty.builder()
         .backgroundColor("backgroundColor")
         .bodyConfig(InAppMessageBodyConfigProperty.builder()
                 .alignment("alignment")
                 .body("body")
                 .textColor("textColor")
                 .build())
         .headerConfig(InAppMessageHeaderConfigProperty.builder()
                 .alignment("alignment")
                 .header("header")
                 .textColor("textColor")
                 .build())
         .imageUrl("imageUrl")
         .primaryBtn(InAppMessageButtonProperty.builder()
                 .android(OverrideButtonConfigurationProperty.builder()
                         .buttonAction("buttonAction")
                         .link("link")
                         .build())
                 .defaultConfig(DefaultButtonConfigurationProperty.builder()
                         .backgroundColor("backgroundColor")
                         .borderRadius(123)
                         .buttonAction("buttonAction")
                         .link("link")
                         .text("text")
                         .textColor("textColor")
                         .build())
                 .ios(OverrideButtonConfigurationProperty.builder()
                         .buttonAction("buttonAction")
                         .link("link")
                         .build())
                 .web(OverrideButtonConfigurationProperty.builder()
                         .buttonAction("buttonAction")
                         .link("link")
                         .build())
                 .build())
         .secondaryBtn(InAppMessageButtonProperty.builder()
                 .android(OverrideButtonConfigurationProperty.builder()
                         .buttonAction("buttonAction")
                         .link("link")
                         .build())
                 .defaultConfig(DefaultButtonConfigurationProperty.builder()
                         .backgroundColor("backgroundColor")
                         .borderRadius(123)
                         .buttonAction("buttonAction")
                         .link("link")
                         .text("text")
                         .textColor("textColor")
                         .build())
                 .ios(OverrideButtonConfigurationProperty.builder()
                         .buttonAction("buttonAction")
                         .link("link")
                         .build())
                 .web(OverrideButtonConfigurationProperty.builder()
                         .buttonAction("buttonAction")
                         .link("link")
                         .build())
                 .build())
         .build();
 

See Also: