@Stability(value=Stable)
public static interface CfnCampaign.DefaultButtonConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
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.*;
DefaultButtonConfigurationProperty defaultButtonConfigurationProperty = DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCampaign.DefaultButtonConfigurationProperty.Builder
A builder for
CfnCampaign.DefaultButtonConfigurationProperty |
static class |
CfnCampaign.DefaultButtonConfigurationProperty.Jsii$Proxy
An implementation for
CfnCampaign.DefaultButtonConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCampaign.DefaultButtonConfigurationProperty.Builder |
builder() |
default String |
getBackgroundColor()
The background color of a button, expressed as a hex color code (such as #000000 for black).
|
default Number |
getBorderRadius()
The border radius of a button.
|
default String |
getButtonAction()
The action that occurs when a recipient chooses a button in an in-app message.
|
default String |
getLink()
The destination (such as a URL) for a button.
|
default String |
getText()
The text that appears on a button in an in-app message.
|
default String |
getTextColor()
The color of the body text in a button, expressed as a hex color code (such as #000000 for black).
|
@Stability(value=Stable) @Nullable default String getBackgroundColor()
@Stability(value=Stable) @Nullable default Number getBorderRadius()
@Stability(value=Stable) @Nullable default String getButtonAction()
You can specify one of the following:
LINK – A link to a web destination.DEEP_LINK – A link to a specific page in an application.CLOSE – Dismisses the message.@Stability(value=Stable) @Nullable default String getLink()
@Stability(value=Stable) @Nullable default String getText()
@Stability(value=Stable) @Nullable default String getTextColor()
@Stability(value=Stable) static CfnCampaign.DefaultButtonConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.