@Stability(value=Stable) public static final class CfnCampaign.CampaignInAppMessageProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.CampaignInAppMessageProperty>
CfnCampaign.CampaignInAppMessageProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCampaign.CampaignInAppMessageProperty |
build()
Builds the configured instance.
|
CfnCampaign.CampaignInAppMessageProperty.Builder |
content(IResolvable content)
Sets the value of
CfnCampaign.CampaignInAppMessageProperty.getContent() |
CfnCampaign.CampaignInAppMessageProperty.Builder |
content(List<? extends Object> content)
Sets the value of
CfnCampaign.CampaignInAppMessageProperty.getContent() |
CfnCampaign.CampaignInAppMessageProperty.Builder |
customConfig(Object customConfig)
Sets the value of
CfnCampaign.CampaignInAppMessageProperty.getCustomConfig() |
CfnCampaign.CampaignInAppMessageProperty.Builder |
layout(String layout)
Sets the value of
CfnCampaign.CampaignInAppMessageProperty.getLayout() |
@Stability(value=Stable) public CfnCampaign.CampaignInAppMessageProperty.Builder content(IResolvable content)
CfnCampaign.CampaignInAppMessageProperty.getContent()content - An array that contains configurtion information about the in-app message for the campaign, including title and body text, text colors, background colors, image URLs, and button configurations.this@Stability(value=Stable) public CfnCampaign.CampaignInAppMessageProperty.Builder content(List<? extends Object> content)
CfnCampaign.CampaignInAppMessageProperty.getContent()content - An array that contains configurtion information about the in-app message for the campaign, including title and body text, text colors, background colors, image URLs, and button configurations.this@Stability(value=Stable) public CfnCampaign.CampaignInAppMessageProperty.Builder customConfig(Object customConfig)
CfnCampaign.CampaignInAppMessageProperty.getCustomConfig()customConfig - Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.this@Stability(value=Stable) public CfnCampaign.CampaignInAppMessageProperty.Builder layout(String layout)
CfnCampaign.CampaignInAppMessageProperty.getLayout()layout - A string that describes how the in-app message will appear. You can specify one of the following:.
BOTTOM_BANNER – a message that appears as a banner at the bottom of the page.TOP_BANNER – a message that appears as a banner at the top of the page.OVERLAYS – a message that covers entire screen.MOBILE_FEED – a message that appears in a window in front of the page.MIDDLE_BANNER – a message that appears as a banner in the middle of the page.CAROUSEL – a scrollable layout of up to five unique messages.this@Stability(value=Stable) public CfnCampaign.CampaignInAppMessageProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.CampaignInAppMessageProperty>CfnCampaign.CampaignInAppMessagePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.