Interface CfnInAppTemplatePropsMixin.ButtonConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInAppTemplatePropsMixin.ButtonConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInAppTemplatePropsMixin
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.*;
ButtonConfigProperty buttonConfigProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInAppTemplatePropsMixin.ButtonConfigPropertystatic final classAn implementation forCfnInAppTemplatePropsMixin.ButtonConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectOptional button configuration to use for in-app messages sent to Android devices.default ObjectSpecifies the default behavior of a button that appears in an in-app message.default ObjectgetIos()Optional button configuration to use for in-app messages sent to iOS devices.default ObjectgetWeb()Optional button configuration to use for in-app messages sent to web applications.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAndroid
Optional button configuration to use for in-app messages sent to Android devices.This button configuration overrides the default button configuration.
Returns union: either
IResolvableorCfnInAppTemplatePropsMixin.OverrideButtonConfigurationProperty- See Also:
-
getDefaultConfig
Specifies the default behavior of a button that appears in an in-app message.You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
Returns union: either
IResolvableorCfnInAppTemplatePropsMixin.DefaultButtonConfigurationProperty- See Also:
-
getIos
Optional button configuration to use for in-app messages sent to iOS devices.This button configuration overrides the default button configuration.
Returns union: either
IResolvableorCfnInAppTemplatePropsMixin.OverrideButtonConfigurationProperty- See Also:
-
getWeb
Optional button configuration to use for in-app messages sent to web applications.This button configuration overrides the default button configuration.
Returns union: either
IResolvableorCfnInAppTemplatePropsMixin.OverrideButtonConfigurationProperty- See Also:
-
builder
-