@Stability(value=Stable)
public static interface CfnCampaign.InAppMessageButtonProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCampaign.InAppMessageButtonProperty.Builder
A builder for
CfnCampaign.InAppMessageButtonProperty |
static class |
CfnCampaign.InAppMessageButtonProperty.Jsii$Proxy
An implementation for
CfnCampaign.InAppMessageButtonProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCampaign.InAppMessageButtonProperty.Builder |
builder() |
default Object |
getAndroid()
An object that defines the default behavior for a button in in-app messages sent to Android.
|
default Object |
getDefaultConfig()
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.
|
@Stability(value=Stable) @Nullable default Object getAndroid()
@Stability(value=Stable) @Nullable default Object getDefaultConfig()
@Stability(value=Stable) @Nullable default Object getIos()
@Stability(value=Stable) @Nullable default Object getWeb()
@Stability(value=Stable) static CfnCampaign.InAppMessageButtonProperty.Builder builder()
Copyright © 2022. All rights reserved.