Interface CfnCampaignPropsMixin.InAppMessageBodyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaignPropsMixin.InAppMessageBodyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCampaignPropsMixin
@Stability(Stable)
public static interface CfnCampaignPropsMixin.InAppMessageBodyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the configuration of main body text of the in-app message.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.pinpoint.*;
InAppMessageBodyConfigProperty inAppMessageBodyConfigProperty = InAppMessageBodyConfigProperty.builder()
.alignment("alignment")
.body("body")
.textColor("textColor")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaignPropsMixin.InAppMessageBodyConfigPropertystatic final classAn implementation forCfnCampaignPropsMixin.InAppMessageBodyConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe text alignment of the main body text of the message.default StringgetBody()The main body text of the message.default StringThe color of the body text, expressed as a string consisting of a hex color code (such as "#000000" for black).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlignment
The text alignment of the main body text of the message.Acceptable values:
LEFT,CENTER,RIGHT.- See Also:
-
getBody
The main body text of the message.- See Also:
-
getTextColor
The color of the body text, expressed as a string consisting of a hex color code (such as "#000000" for black).- See Also:
-
builder
-