Interface EventFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventFilter.Builder,EventFilter>,SdkBuilder<EventFilter.Builder,EventFilter>,SdkPojo
- Enclosing class:
- EventFilter
public static interface EventFilter.Builder extends SdkPojo, CopyableBuilder<EventFilter.Builder,EventFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventFilter.Builderdimensions(Consumer<EventDimensions.Builder> dimensions)The dimensions for the event filter to use for the campaign or the journey activity.EventFilter.Builderdimensions(EventDimensions dimensions)The dimensions for the event filter to use for the campaign or the journey activity.EventFilter.BuilderfilterType(String filterType)The type of event that causes the campaign to be sent or the journey activity to be performed.EventFilter.BuilderfilterType(FilterType filterType)The type of event that causes the campaign to be sent or the journey activity to be performed.-
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
-
dimensions
EventFilter.Builder dimensions(EventDimensions dimensions)
The dimensions for the event filter to use for the campaign or the journey activity.
- Parameters:
dimensions- The dimensions for the event filter to use for the campaign or the journey activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
default EventFilter.Builder dimensions(Consumer<EventDimensions.Builder> dimensions)
The dimensions for the event filter to use for the campaign or the journey activity.
This is a convenience method that creates an instance of theEventDimensions.Builderavoiding the need to create one manually viaEventDimensions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(EventDimensions).- Parameters:
dimensions- a consumer that will call methods onEventDimensions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dimensions(EventDimensions)
-
filterType
EventFilter.Builder filterType(String filterType)
The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.
- Parameters:
filterType- The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterType,FilterType
-
filterType
EventFilter.Builder filterType(FilterType filterType)
The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.
- Parameters:
filterType- The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterType,FilterType
-
-