Class CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInAppTemplatePropsMixin.ButtonConfigProperty>
- Enclosing interface:
CfnInAppTemplatePropsMixin.ButtonConfigProperty
@Stability(Stable)
public static final class CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInAppTemplatePropsMixin.ButtonConfigProperty>
A builder for
CfnInAppTemplatePropsMixin.ButtonConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandroid(IResolvable android) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getAndroid()Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getAndroid()build()Builds the configured instance.defaultConfig(IResolvable defaultConfig) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getDefaultConfig()Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getDefaultConfig()ios(IResolvable ios) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getIos()Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getIos()web(IResolvable web) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getWeb()Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getWeb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
android
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder android(IResolvable android) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getAndroid()- Parameters:
android- Optional button configuration to use for in-app messages sent to Android devices. This button configuration overrides the default button configuration.- Returns:
this
-
android
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder android(CfnInAppTemplatePropsMixin.OverrideButtonConfigurationProperty android) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getAndroid()- Parameters:
android- Optional button configuration to use for in-app messages sent to Android devices. This button configuration overrides the default button configuration.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder defaultConfig(IResolvable defaultConfig) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getDefaultConfig()- Parameters:
defaultConfig- 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:
this
-
defaultConfig
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder defaultConfig(CfnInAppTemplatePropsMixin.DefaultButtonConfigurationProperty defaultConfig) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getDefaultConfig()- Parameters:
defaultConfig- 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:
this
-
ios
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder ios(IResolvable ios) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getIos()- Parameters:
ios- Optional button configuration to use for in-app messages sent to iOS devices. This button configuration overrides the default button configuration.- Returns:
this
-
ios
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder ios(CfnInAppTemplatePropsMixin.OverrideButtonConfigurationProperty ios) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getIos()- Parameters:
ios- Optional button configuration to use for in-app messages sent to iOS devices. This button configuration overrides the default button configuration.- Returns:
this
-
web
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder web(IResolvable web) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getWeb()- Parameters:
web- Optional button configuration to use for in-app messages sent to web applications. This button configuration overrides the default button configuration.- Returns:
this
-
web
@Stability(Stable) public CfnInAppTemplatePropsMixin.ButtonConfigProperty.Builder web(CfnInAppTemplatePropsMixin.OverrideButtonConfigurationProperty web) Sets the value ofCfnInAppTemplatePropsMixin.ButtonConfigProperty.getWeb()- Parameters:
web- Optional button configuration to use for in-app messages sent to web applications. This button configuration overrides the default button configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInAppTemplatePropsMixin.ButtonConfigProperty>- Returns:
- a new instance of
CfnInAppTemplatePropsMixin.ButtonConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-