Interface CfnCampaign.InAppMessageButtonProperty

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

@Stability(Stable) public static interface CfnCampaign.InAppMessageButtonProperty extends software.amazon.jsii.JsiiSerializable
Specifies the configuration of a button that appears in 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.*;
 InAppMessageButtonProperty inAppMessageButtonProperty = 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();
 
  • Method Details

    • getAndroid

      @Stability(Stable) @Nullable default Object getAndroid()
      An object that defines the default behavior for a button in in-app messages sent to Android.
    • getDefaultConfig

      @Stability(Stable) @Nullable default Object getDefaultConfig()
      An object that defines the default behavior for a button in an in-app message.
    • getIos

      @Stability(Stable) @Nullable default Object getIos()
      An object that defines the default behavior for a button in in-app messages sent to iOS devices.
    • getWeb

      @Stability(Stable) @Nullable default Object getWeb()
      An object that defines the default behavior for a button in in-app messages for web applications.
    • builder

      @Stability(Stable) static CfnCampaign.InAppMessageButtonProperty.Builder builder()
      Returns:
      a CfnCampaign.InAppMessageButtonProperty.Builder of CfnCampaign.InAppMessageButtonProperty