Class CfnCampaign.CampaignEventFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.CampaignEventFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.CampaignEventFilterProperty>
- Enclosing interface:
CfnCampaign.CampaignEventFilterProperty
@Stability(Stable)
public static final class CfnCampaign.CampaignEventFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.CampaignEventFilterProperty>
A builder for
CfnCampaign.CampaignEventFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensions(IResolvable dimensions) Sets the value ofCfnCampaign.CampaignEventFilterProperty.getDimensions()dimensions(CfnCampaign.EventDimensionsProperty dimensions) Sets the value ofCfnCampaign.CampaignEventFilterProperty.getDimensions()filterType(String filterType) Sets the value ofCfnCampaign.CampaignEventFilterProperty.getFilterType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensions
@Stability(Stable) public CfnCampaign.CampaignEventFilterProperty.Builder dimensions(IResolvable dimensions) Sets the value ofCfnCampaign.CampaignEventFilterProperty.getDimensions()- Parameters:
dimensions- The dimension settings of the event filter for the campaign.- Returns:
this
-
dimensions
@Stability(Stable) public CfnCampaign.CampaignEventFilterProperty.Builder dimensions(CfnCampaign.EventDimensionsProperty dimensions) Sets the value ofCfnCampaign.CampaignEventFilterProperty.getDimensions()- Parameters:
dimensions- The dimension settings of the event filter for the campaign.- Returns:
this
-
filterType
@Stability(Stable) public CfnCampaign.CampaignEventFilterProperty.Builder filterType(String filterType) Sets the value ofCfnCampaign.CampaignEventFilterProperty.getFilterType()- Parameters:
filterType- The type of event that causes the campaign to be sent. Valid values are:SYSTEM, sends the campaign when a system event occurs; and,ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.CampaignEventFilterProperty>- Returns:
- a new instance of
CfnCampaign.CampaignEventFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-