@Stability(value=Stable)
public static interface CfnCampaign.EventDimensionsProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
Object attributes;
Object metrics;
EventDimensionsProperty eventDimensionsProperty = EventDimensionsProperty.builder()
.attributes(attributes)
.eventType(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.metrics(metrics)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCampaign.EventDimensionsProperty.Builder
A builder for
CfnCampaign.EventDimensionsProperty |
static class |
CfnCampaign.EventDimensionsProperty.Jsii$Proxy
An implementation for
CfnCampaign.EventDimensionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCampaign.EventDimensionsProperty.Builder |
builder() |
default Object |
getAttributes()
One or more custom attributes that your application reports to Amazon Pinpoint.
|
default Object |
getEventType()
The name of the event that causes the campaign to be sent or the journey activity to be performed.
|
default Object |
getMetrics()
One or more custom metrics that your application reports to Amazon Pinpoint .
|
@Stability(value=Stable) @Nullable default Object getAttributes()
You can use these attributes as selection criteria when you create an event filter.
@Stability(value=Stable) @Nullable default Object getEventType()
This can be a standard event that Amazon Pinpoint generates, such as _email.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 .
@Stability(value=Stable) @Nullable default Object getMetrics()
You can use these metrics as selection criteria when you create an event filter.
@Stability(value=Stable) static CfnCampaign.EventDimensionsProperty.Builder builder()
Copyright © 2022. All rights reserved.