@Stability(value=Stable) public static final class CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInAppTemplate.DefaultButtonConfigurationProperty>
CfnInAppTemplate.DefaultButtonConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder backgroundColor(String backgroundColor)
CfnInAppTemplate.DefaultButtonConfigurationProperty.getBackgroundColor()backgroundColor - The background color of a button, expressed as a hex color code (such as #000000 for black).this@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder borderRadius(Number borderRadius)
CfnInAppTemplate.DefaultButtonConfigurationProperty.getBorderRadius()borderRadius - The border radius of a button.this@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder buttonAction(String buttonAction)
CfnInAppTemplate.DefaultButtonConfigurationProperty.getButtonAction()buttonAction - The action that occurs when a recipient chooses a button in an in-app message.
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.this@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder link(String link)
CfnInAppTemplate.DefaultButtonConfigurationProperty.getLink()link - The destination (such as a URL) for a button.this@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder text(String text)
CfnInAppTemplate.DefaultButtonConfigurationProperty.getText()text - The text that appears on a button in an in-app message.this@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty.Builder textColor(String textColor)
CfnInAppTemplate.DefaultButtonConfigurationProperty.getTextColor()textColor - The color of the body text in a button, expressed as a hex color code (such as #000000 for black).this@Stability(value=Stable) public CfnInAppTemplate.DefaultButtonConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnInAppTemplate.DefaultButtonConfigurationProperty>CfnInAppTemplate.DefaultButtonConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.