@Stability(value=Stable) public static final class CfnInAppTemplate.Builder extends Object implements software.amazon.jsii.Builder<CfnInAppTemplate>
CfnInAppTemplate.| Modifier and Type | Method and Description |
|---|---|
CfnInAppTemplate |
build() |
CfnInAppTemplate.Builder |
content(IResolvable 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.
|
CfnInAppTemplate.Builder |
content(List<? extends Object> 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.
|
static CfnInAppTemplate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnInAppTemplate.Builder |
customConfig(Object customConfig)
Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.
|
CfnInAppTemplate.Builder |
layout(String layout)
A string that determines the appearance of the in-app message.
|
CfnInAppTemplate.Builder |
tags(Object tags)
An array of key-value pairs to apply to this resource.
|
CfnInAppTemplate.Builder |
templateDescription(String templateDescription)
An optional description of the in-app template.
|
CfnInAppTemplate.Builder |
templateName(String templateName)
The name of the in-app message template.
|
@Stability(value=Stable) public static CfnInAppTemplate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnInAppTemplate.BodyConfigProperty.Builder.@Stability(value=Stable) public CfnInAppTemplate.Builder templateName(String templateName)
templateName - The name of the in-app message template. This parameter is required.this@Stability(value=Stable) public CfnInAppTemplate.Builder content(IResolvable content)
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 parameter is required.this@Stability(value=Stable) public CfnInAppTemplate.Builder content(List<? extends Object> content)
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 parameter is required.this@Stability(value=Stable) public CfnInAppTemplate.Builder customConfig(Object customConfig)
customConfig - Custom data, in the form of key-value pairs, that is included in an in-app messaging payload. This parameter is required.this@Stability(value=Stable) public CfnInAppTemplate.Builder layout(String layout)
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.layout - A string that determines the appearance of the in-app message. You can specify one of the following:. This parameter is required.this@Stability(value=Stable) public CfnInAppTemplate.Builder tags(Object tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnInAppTemplate.Builder templateDescription(String templateDescription)
templateDescription - An optional description of the in-app template. This parameter is required.this@Stability(value=Stable) public CfnInAppTemplate build()
build in interface software.amazon.jsii.Builder<CfnInAppTemplate>Copyright © 2022. All rights reserved.