@Stability(value=Stable) public static final class CfnInAppTemplate.BodyConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInAppTemplate.BodyConfigProperty>
CfnInAppTemplate.BodyConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInAppTemplate.BodyConfigProperty.Builder |
alignment(String alignment)
Sets the value of
CfnInAppTemplate.BodyConfigProperty.getAlignment() |
CfnInAppTemplate.BodyConfigProperty.Builder |
body(String body)
Sets the value of
CfnInAppTemplate.BodyConfigProperty.getBody() |
CfnInAppTemplate.BodyConfigProperty |
build()
Builds the configured instance.
|
CfnInAppTemplate.BodyConfigProperty.Builder |
textColor(String textColor)
Sets the value of
CfnInAppTemplate.BodyConfigProperty.getTextColor() |
@Stability(value=Stable) public CfnInAppTemplate.BodyConfigProperty.Builder alignment(String alignment)
CfnInAppTemplate.BodyConfigProperty.getAlignment()alignment - The text alignment of the main body text of the message.
Acceptable values: LEFT , CENTER , RIGHT .this@Stability(value=Stable) public CfnInAppTemplate.BodyConfigProperty.Builder body(String body)
CfnInAppTemplate.BodyConfigProperty.getBody()body - The main body text of the message.this@Stability(value=Stable) public CfnInAppTemplate.BodyConfigProperty.Builder textColor(String textColor)
CfnInAppTemplate.BodyConfigProperty.getTextColor()textColor - The color of the body text, expressed as a hex color code (such as #000000 for black).this@Stability(value=Stable) public CfnInAppTemplate.BodyConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnInAppTemplate.BodyConfigProperty>CfnInAppTemplate.BodyConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.