public static final class CfnCampaign.CampaignEventFilterProperty.Builder
extends java.lang.Object
CfnCampaign.CampaignEventFilterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCampaign.CampaignEventFilterProperty |
build()
Builds the configured instance.
|
CfnCampaign.CampaignEventFilterProperty.Builder |
dimensions(CfnCampaign.EventDimensionsProperty dimensions)
Sets the value of
CfnCampaign.CampaignEventFilterProperty.getDimensions() |
CfnCampaign.CampaignEventFilterProperty.Builder |
dimensions(IResolvable dimensions)
Sets the value of
CfnCampaign.CampaignEventFilterProperty.getDimensions() |
CfnCampaign.CampaignEventFilterProperty.Builder |
filterType(java.lang.String filterType)
Sets the value of
CfnCampaign.CampaignEventFilterProperty.getFilterType() |
public CfnCampaign.CampaignEventFilterProperty.Builder dimensions(IResolvable dimensions)
CfnCampaign.CampaignEventFilterProperty.getDimensions()
dimensions
- The dimension settings of the event filter for the campaign.this
public CfnCampaign.CampaignEventFilterProperty.Builder dimensions(CfnCampaign.EventDimensionsProperty dimensions)
CfnCampaign.CampaignEventFilterProperty.getDimensions()
dimensions
- The dimension settings of the event filter for the campaign.this
public CfnCampaign.CampaignEventFilterProperty.Builder filterType(java.lang.String filterType)
CfnCampaign.CampaignEventFilterProperty.getFilterType()
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.this
public CfnCampaign.CampaignEventFilterProperty build()
CfnCampaign.CampaignEventFilterProperty
java.lang.NullPointerException
- if any required attribute was not provided