Interface EventDimensions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventDimensions.Builder,EventDimensions>,SdkBuilder<EventDimensions.Builder,EventDimensions>,SdkPojo
- Enclosing class:
- EventDimensions
public static interface EventDimensions.Builder extends SdkPojo, CopyableBuilder<EventDimensions.Builder,EventDimensions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EventDimensions.Builderattributes(Map<String,AttributeDimension> attributes)One or more custom attributes that your application reports to Amazon Pinpoint.default EventDimensions.BuildereventType(Consumer<SetDimension.Builder> eventType)The name of the event that causes the campaign to be sent or the journey activity to be performed.EventDimensions.BuildereventType(SetDimension eventType)The name of the event that causes the campaign to be sent or the journey activity to be performed.EventDimensions.Buildermetrics(Map<String,MetricDimension> metrics)One or more custom metrics that your application reports to Amazon Pinpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attributes
EventDimensions.Builder attributes(Map<String,AttributeDimension> 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
EventDimensions.Builder eventType(SetDimension 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.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.
- 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.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:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
default EventDimensions.Builder eventType(Consumer<SetDimension.Builder> 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.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.
This is a convenience method that creates an instance of theSetDimension.Builderavoiding the need to create one manually viaSetDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventType(SetDimension).- Parameters:
eventType- a consumer that will call methods onSetDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventType(SetDimension)
-
metrics
EventDimensions.Builder metrics(Map<String,MetricDimension> 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
-