@Stability(value=Stable) public static final class CfnCampaign.InAppMessageContentProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.InAppMessageContentProperty>
CfnCampaign.InAppMessageContentProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder backgroundColor(String backgroundColor)
CfnCampaign.InAppMessageContentProperty.getBackgroundColor()backgroundColor - The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder bodyConfig(CfnCampaign.InAppMessageBodyConfigProperty bodyConfig)
CfnCampaign.InAppMessageContentProperty.getBodyConfig()bodyConfig - Specifies the configuration of main body text in an in-app message template.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder bodyConfig(IResolvable bodyConfig)
CfnCampaign.InAppMessageContentProperty.getBodyConfig()bodyConfig - Specifies the configuration of main body text in an in-app message template.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder headerConfig(CfnCampaign.InAppMessageHeaderConfigProperty headerConfig)
CfnCampaign.InAppMessageContentProperty.getHeaderConfig()headerConfig - Specifies the configuration and content of the header or title text of the in-app message.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder headerConfig(IResolvable headerConfig)
CfnCampaign.InAppMessageContentProperty.getHeaderConfig()headerConfig - Specifies the configuration and content of the header or title text of the in-app message.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder imageUrl(String imageUrl)
CfnCampaign.InAppMessageContentProperty.getImageUrl()imageUrl - The URL of the image that appears on an in-app message banner.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder primaryBtn(CfnCampaign.InAppMessageButtonProperty primaryBtn)
CfnCampaign.InAppMessageContentProperty.getPrimaryBtn()primaryBtn - An object that contains configuration information about the primary button in an in-app message.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder primaryBtn(IResolvable primaryBtn)
CfnCampaign.InAppMessageContentProperty.getPrimaryBtn()primaryBtn - An object that contains configuration information about the primary button in an in-app message.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder secondaryBtn(CfnCampaign.InAppMessageButtonProperty secondaryBtn)
CfnCampaign.InAppMessageContentProperty.getSecondaryBtn()secondaryBtn - An object that contains configuration information about the secondary button in an in-app message.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty.Builder secondaryBtn(IResolvable secondaryBtn)
CfnCampaign.InAppMessageContentProperty.getSecondaryBtn()secondaryBtn - An object that contains configuration information about the secondary button in an in-app message.this@Stability(value=Stable) public CfnCampaign.InAppMessageContentProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.InAppMessageContentProperty>CfnCampaign.InAppMessageContentPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.