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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCampaign.InAppMessageButtonProperty
static final class
An implementation forCfnCampaign.InAppMessageButtonProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
An object that defines the default behavior for a button in in-app messages sent to Android.default Object
An object that defines the default behavior for a button in an in-app message.default Object
getIos()
An object that defines the default behavior for a button in in-app messages sent to iOS devices.default Object
getWeb()
An object that defines the default behavior for a button in in-app messages for web applications.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAndroid
An object that defines the default behavior for a button in in-app messages sent to Android.- See Also:
-
getDefaultConfig
An object that defines the default behavior for a button in an in-app message.- See Also:
-
getIos
An object that defines the default behavior for a button in in-app messages sent to iOS devices.- See Also:
-
getWeb
An object that defines the default behavior for a button in in-app messages for web applications.- See Also:
-
builder
-