Class CfnCampaign.OverrideButtonConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.OverrideButtonConfigurationProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnCampaign.OverrideButtonConfigurationProperty>
- Enclosing interface:
 - CfnCampaign.OverrideButtonConfigurationProperty
 
@Stability(Stable)
public static final class CfnCampaign.OverrideButtonConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.OverrideButtonConfigurationProperty>
A builder for 
CfnCampaign.OverrideButtonConfigurationProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.buttonAction(String buttonAction) Sets the value ofCfnCampaign.OverrideButtonConfigurationProperty.getButtonAction()Sets the value ofCfnCampaign.OverrideButtonConfigurationProperty.getLink() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
buttonAction
@Stability(Stable) public CfnCampaign.OverrideButtonConfigurationProperty.Builder buttonAction(String buttonAction) Sets the value ofCfnCampaign.OverrideButtonConfigurationProperty.getButtonAction()- Parameters:
 buttonAction- The action that occurs when a recipient chooses a button in an in-app message. You can specify one of the following:LINK– A link to a web destination.DEEP_LINK– A link to a specific page in an application.CLOSE– Dismisses the message.
- Returns:
 this
 - 
link
Sets the value ofCfnCampaign.OverrideButtonConfigurationProperty.getLink()- Parameters:
 link- The destination (such as a URL) for a button.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.OverrideButtonConfigurationProperty>- Returns:
 - a new instance of 
CfnCampaign.OverrideButtonConfigurationProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -