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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaign.InAppMessageButtonPropertystatic final classAn implementation forCfnCampaign.InAppMessageButtonProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn object that defines the default behavior for a button in in-app messages sent to Android.default ObjectAn object that defines the default behavior for a button in an in-app message.default ObjectgetIos()An object that defines the default behavior for a button in in-app messages sent to iOS devices.default ObjectgetWeb()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. -
getDefaultConfig
An object that defines the default behavior for a button in an in-app message. -
getIos
An object that defines the default behavior for a button in in-app messages sent to iOS devices. -
getWeb
An object that defines the default behavior for a button in in-app messages for web applications. -
builder
-