public static interface EventDimensions.Builder extends SdkPojo, CopyableBuilder<EventDimensions.Builder,EventDimensions>
| Modifier and Type | Method and Description |
|---|---|
EventDimensions.Builder |
attributes(Map<String,AttributeDimension> attributes)
One or more custom attributes that your app reports to Amazon Pinpoint.
|
default EventDimensions.Builder |
eventType(Consumer<SetDimension.Builder> eventType)
The name of the event that causes the campaign to be sent.
|
EventDimensions.Builder |
eventType(SetDimension eventType)
The name of the event that causes the campaign to be sent.
|
EventDimensions.Builder |
metrics(Map<String,MetricDimension> metrics)
One or more custom metrics that your app reports to Amazon Pinpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEventDimensions.Builder attributes(Map<String,AttributeDimension> attributes)
One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
attributes - One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes
as selection criteria when you create an event filter.EventDimensions.Builder eventType(SetDimension eventType)
The name of the event that causes the campaign to be sent. This can be a standard type of event that Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.
eventType - The name of the event that causes the campaign to be sent. This can be a standard type of event that
Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.default EventDimensions.Builder eventType(Consumer<SetDimension.Builder> eventType)
The name of the event that causes the campaign to be sent. This can be a standard type of event that Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.
This is a convenience that creates an instance of theSetDimension.Builder avoiding the need to
create one manually via SetDimension.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to eventType(SetDimension).eventType - a consumer that will call methods on SetDimension.BuildereventType(SetDimension)EventDimensions.Builder metrics(Map<String,MetricDimension> metrics)
One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
metrics - One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as
selection criteria when you create an event filter.Copyright © 2019. All rights reserved.