@Stability(value=Stable)
public static interface CfnCampaign.CampaignInAppMessageProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
Object customConfig;
CampaignInAppMessageProperty campaignInAppMessageProperty = CampaignInAppMessageProperty.builder()
.content(List.of(InAppMessageContentProperty.builder()
.backgroundColor("backgroundColor")
.bodyConfig(InAppMessageBodyConfigProperty.builder()
.alignment("alignment")
.body("body")
.textColor("textColor")
.build())
.headerConfig(InAppMessageHeaderConfigProperty.builder()
.alignment("alignment")
.header("header")
.textColor("textColor")
.build())
.imageUrl("imageUrl")
.primaryBtn(InAppMessageButtonProperty.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(InAppMessageButtonProperty.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()))
.customConfig(customConfig)
.layout("layout")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCampaign.CampaignInAppMessageProperty.Builder
A builder for
CfnCampaign.CampaignInAppMessageProperty |
static class |
CfnCampaign.CampaignInAppMessageProperty.Jsii$Proxy
An implementation for
CfnCampaign.CampaignInAppMessageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCampaign.CampaignInAppMessageProperty.Builder |
builder() |
default Object |
getContent()
`CfnCampaign.CampaignInAppMessageProperty.Content`.
|
default Object |
getCustomConfig()
`CfnCampaign.CampaignInAppMessageProperty.CustomConfig`.
|
default String |
getLayout()
`CfnCampaign.CampaignInAppMessageProperty.Layout`.
|
@Stability(value=Stable) @Nullable default Object getContent()
@Stability(value=Stable) @Nullable default Object getCustomConfig()
@Stability(value=Stable) @Nullable default String getLayout()
@Stability(value=Stable) static CfnCampaign.CampaignInAppMessageProperty.Builder builder()
Copyright © 2021. All rights reserved.