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