@Stability(value=Stable)
public static interface CfnInAppTemplate.ButtonConfigProperty
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.*;
ButtonConfigProperty buttonConfigProperty = ButtonConfigProperty.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 |
CfnInAppTemplate.ButtonConfigProperty.Builder
A builder for
CfnInAppTemplate.ButtonConfigProperty |
static class |
CfnInAppTemplate.ButtonConfigProperty.Jsii$Proxy
An implementation for
CfnInAppTemplate.ButtonConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInAppTemplate.ButtonConfigProperty.Builder |
builder() |
default Object |
getAndroid()
Optional button configuration to use for in-app messages sent to Android devices.
|
default Object |
getDefaultConfig()
Specifies the default behavior of a button that appears in an in-app message.
|
default Object |
getIos()
Optional button configuration to use for in-app messages sent to iOS devices.
|
default Object |
getWeb()
Optional button configuration to use for in-app messages sent to web applications.
|
@Stability(value=Stable) @Nullable default Object getAndroid()
This button configuration overrides the default button configuration.
@Stability(value=Stable) @Nullable default Object getDefaultConfig()
You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
@Stability(value=Stable) @Nullable default Object getIos()
This button configuration overrides the default button configuration.
@Stability(value=Stable) @Nullable default Object getWeb()
This button configuration overrides the default button configuration.
@Stability(value=Stable) static CfnInAppTemplate.ButtonConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.