@Stability(value=Stable) public static final class CfnInAppTemplateProps.Builder extends Object implements software.amazon.jsii.Builder<CfnInAppTemplateProps>
CfnInAppTemplateProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInAppTemplateProps |
build()
Builds the configured instance.
|
CfnInAppTemplateProps.Builder |
content(IResolvable content)
Sets the value of
CfnInAppTemplateProps.getContent() |
CfnInAppTemplateProps.Builder |
content(List<? extends Object> content)
Sets the value of
CfnInAppTemplateProps.getContent() |
CfnInAppTemplateProps.Builder |
customConfig(Object customConfig)
Sets the value of
CfnInAppTemplateProps.getCustomConfig() |
CfnInAppTemplateProps.Builder |
layout(String layout)
Sets the value of
CfnInAppTemplateProps.getLayout() |
CfnInAppTemplateProps.Builder |
tags(Object tags)
Sets the value of
CfnInAppTemplateProps.getTags() |
CfnInAppTemplateProps.Builder |
templateDescription(String templateDescription)
Sets the value of
CfnInAppTemplateProps.getTemplateDescription() |
CfnInAppTemplateProps.Builder |
templateName(String templateName)
Sets the value of
CfnInAppTemplateProps.getTemplateName() |
@Stability(value=Stable) public CfnInAppTemplateProps.Builder templateName(String templateName)
CfnInAppTemplateProps.getTemplateName()templateName - The name of the in-app message template. This parameter is required.this@Stability(value=Stable) public CfnInAppTemplateProps.Builder content(IResolvable content)
CfnInAppTemplateProps.getContent()content - An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.this@Stability(value=Stable) public CfnInAppTemplateProps.Builder content(List<? extends Object> content)
CfnInAppTemplateProps.getContent()content - An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.this@Stability(value=Stable) public CfnInAppTemplateProps.Builder customConfig(Object customConfig)
CfnInAppTemplateProps.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 CfnInAppTemplateProps.Builder layout(String layout)
CfnInAppTemplateProps.getLayout()layout - A string that determines the appearance of the in-app message. 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 CfnInAppTemplateProps.Builder tags(Object tags)
CfnInAppTemplateProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnInAppTemplateProps.Builder templateDescription(String templateDescription)
CfnInAppTemplateProps.getTemplateDescription()templateDescription - An optional description of the in-app template.this@Stability(value=Stable) public CfnInAppTemplateProps build()
build in interface software.amazon.jsii.Builder<CfnInAppTemplateProps>CfnInAppTemplatePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.