Class CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.InAppMessageButtonProperty>
- Enclosing interface:
CfnCampaignPropsMixin.InAppMessageButtonProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.InAppMessageButtonProperty>
A builder for
CfnCampaignPropsMixin.InAppMessageButtonProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getAndroid()android(IResolvable android) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getAndroid()build()Builds the configured instance.Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getDefaultConfig()defaultConfig(IResolvable defaultConfig) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getDefaultConfig()Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getIos()ios(IResolvable ios) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getIos()Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getWeb()web(IResolvable web) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getWeb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
android
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder android(IResolvable android) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getAndroid()- Parameters:
android- An object that defines the default behavior for a button in in-app messages sent to Android.- Returns:
this
-
android
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder android(CfnCampaignPropsMixin.OverrideButtonConfigurationProperty android) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getAndroid()- Parameters:
android- An object that defines the default behavior for a button in in-app messages sent to Android.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder defaultConfig(IResolvable defaultConfig) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getDefaultConfig()- Parameters:
defaultConfig- An object that defines the default behavior for a button in an in-app message.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder defaultConfig(CfnCampaignPropsMixin.DefaultButtonConfigurationProperty defaultConfig) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getDefaultConfig()- Parameters:
defaultConfig- An object that defines the default behavior for a button in an in-app message.- Returns:
this
-
ios
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder ios(IResolvable ios) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getIos()- Parameters:
ios- An object that defines the default behavior for a button in in-app messages sent to iOS devices.- Returns:
this
-
ios
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder ios(CfnCampaignPropsMixin.OverrideButtonConfigurationProperty ios) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getIos()- Parameters:
ios- An object that defines the default behavior for a button in in-app messages sent to iOS devices.- Returns:
this
-
web
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder web(IResolvable web) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getWeb()- Parameters:
web- An object that defines the default behavior for a button in in-app messages for web applications.- Returns:
this
-
web
@Stability(Stable) public CfnCampaignPropsMixin.InAppMessageButtonProperty.Builder web(CfnCampaignPropsMixin.OverrideButtonConfigurationProperty web) Sets the value ofCfnCampaignPropsMixin.InAppMessageButtonProperty.getWeb()- Parameters:
web- An object that defines the default behavior for a button in in-app messages for web applications.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.InAppMessageButtonProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.InAppMessageButtonProperty - Throws:
NullPointerException- if any required attribute was not provided
-