public static interface CfnInAppTemplate.InAppMessageContentProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pinpoint.*; InAppMessageContentProperty inAppMessageContentProperty = InAppMessageContentProperty.builder() .backgroundColor("backgroundColor") .bodyConfig(BodyConfigProperty.builder() .alignment("alignment") .body("body") .textColor("textColor") .build()) .headerConfig(HeaderConfigProperty.builder() .alignment("alignment") .header("header") .textColor("textColor") .build()) .imageUrl("imageUrl") .primaryBtn(ButtonConfigProperty.builder() .android(OverrideButtonConfigurationProperty.builder() .buttonAction("buttonAction") .link("link") .build()) .defaultConfig(DefaultButtonConfigurationProperty.builder() .backgroundColor("backgroundColor") .borderRadius(123) .buttonAction("buttonAction") .link("link") .text("text") .textColor("textColor") .build()) .ios(OverrideButtonConfigurationProperty.builder() .buttonAction("buttonAction") .link("link") .build()) .web(OverrideButtonConfigurationProperty.builder() .buttonAction("buttonAction") .link("link") .build()) .build()) .secondaryBtn(ButtonConfigProperty.builder() .android(OverrideButtonConfigurationProperty.builder() .buttonAction("buttonAction") .link("link") .build()) .defaultConfig(DefaultButtonConfigurationProperty.builder() .backgroundColor("backgroundColor") .borderRadius(123) .buttonAction("buttonAction") .link("link") .text("text") .textColor("textColor") .build()) .ios(OverrideButtonConfigurationProperty.builder() .buttonAction("buttonAction") .link("link") .build()) .web(OverrideButtonConfigurationProperty.builder() .buttonAction("buttonAction") .link("link") .build()) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnInAppTemplate.InAppMessageContentProperty.Builder
A builder for
CfnInAppTemplate.InAppMessageContentProperty |
static class |
CfnInAppTemplate.InAppMessageContentProperty.Jsii$Proxy
An implementation for
CfnInAppTemplate.InAppMessageContentProperty |
Modifier and Type | Method and Description |
---|---|
static CfnInAppTemplate.InAppMessageContentProperty.Builder |
builder() |
default java.lang.String |
getBackgroundColor()
The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).
|
default java.lang.Object |
getBodyConfig()
An object that contains configuration information about the header or title text of the in-app message.
|
default java.lang.Object |
getHeaderConfig()
An object that contains configuration information about the header or title text of the in-app message.
|
default java.lang.String |
getImageUrl()
The URL of the image that appears on an in-app message banner.
|
default java.lang.Object |
getPrimaryBtn()
An object that contains configuration information about the primary button in an in-app message.
|
default java.lang.Object |
getSecondaryBtn()
An object that contains configuration information about the secondary button in an in-app message.
|
default java.lang.String getBackgroundColor()
default java.lang.Object getBodyConfig()
default java.lang.Object getHeaderConfig()
default java.lang.String getImageUrl()
default java.lang.Object getPrimaryBtn()
default java.lang.Object getSecondaryBtn()
static CfnInAppTemplate.InAppMessageContentProperty.Builder builder()