Class CfnCampaignPropsMixin.EventDimensionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnCampaignPropsMixin.EventDimensionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.EventDimensionsProperty>
- Enclosing interface:
CfnCampaignPropsMixin.EventDimensionsProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.EventDimensionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.EventDimensionsProperty>
A builder for
CfnCampaignPropsMixin.EventDimensionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Object attributes) Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getAttributes()build()Builds the configured instance.Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getEventType()eventType(IResolvable eventType) Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getEventType()Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getMetrics()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnCampaignPropsMixin.EventDimensionsProperty.Builder attributes(Object attributes) Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getAttributes()- Parameters:
attributes- One or more custom attributes that your application reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.- Returns:
this
-
eventType
@Stability(Stable) public CfnCampaignPropsMixin.EventDimensionsProperty.Builder eventType(IResolvable eventType) Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getEventType()- Parameters:
eventType- The name of the event that causes the campaign to be sent or the journey activity to be performed. This can be a standard event that Amazon Pinpoint generates, such as_email.deliveredor_custom.delivered. For campaigns, this can also be a custom event that's specific to your application. For information about standard events, see Streaming Amazon Pinpoint Events in the Amazon Pinpoint Developer Guide .- Returns:
this
-
eventType
@Stability(Stable) public CfnCampaignPropsMixin.EventDimensionsProperty.Builder eventType(CfnCampaignPropsMixin.SetDimensionProperty eventType) Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getEventType()- Parameters:
eventType- The name of the event that causes the campaign to be sent or the journey activity to be performed. This can be a standard event that Amazon Pinpoint generates, such as_email.deliveredor_custom.delivered. For campaigns, this can also be a custom event that's specific to your application. For information about standard events, see Streaming Amazon Pinpoint Events in the Amazon Pinpoint Developer Guide .- Returns:
this
-
metrics
@Stability(Stable) public CfnCampaignPropsMixin.EventDimensionsProperty.Builder metrics(Object metrics) Sets the value ofCfnCampaignPropsMixin.EventDimensionsProperty.getMetrics()- Parameters:
metrics- One or more custom metrics that your application reports to Amazon Pinpoint . You can use these metrics as selection criteria when you create an event filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.EventDimensionsProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.EventDimensionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-