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