@Stability(value=Stable) public static final class CfnCampaign.DefaultButtonConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.DefaultButtonConfigurationProperty>
CfnCampaign.DefaultButtonConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCampaign.DefaultButtonConfigurationProperty.Builder backgroundColor(String backgroundColor)
CfnCampaign.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 CfnCampaign.DefaultButtonConfigurationProperty.Builder borderRadius(Number borderRadius)
CfnCampaign.DefaultButtonConfigurationProperty.getBorderRadius()borderRadius - The border radius of a button.this@Stability(value=Stable) public CfnCampaign.DefaultButtonConfigurationProperty.Builder buttonAction(String buttonAction)
CfnCampaign.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 CfnCampaign.DefaultButtonConfigurationProperty.Builder link(String link)
CfnCampaign.DefaultButtonConfigurationProperty.getLink()link - The destination (such as a URL) for a button.this@Stability(value=Stable) public CfnCampaign.DefaultButtonConfigurationProperty.Builder text(String text)
CfnCampaign.DefaultButtonConfigurationProperty.getText()text - The text that appears on a button in an in-app message.this@Stability(value=Stable) public CfnCampaign.DefaultButtonConfigurationProperty.Builder textColor(String textColor)
CfnCampaign.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 CfnCampaign.DefaultButtonConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.DefaultButtonConfigurationProperty>CfnCampaign.DefaultButtonConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.