Interface CampaignEventFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CampaignEventFilter.Builder,
,CampaignEventFilter> SdkBuilder<CampaignEventFilter.Builder,
,CampaignEventFilter> SdkPojo
- Enclosing class:
CampaignEventFilter
public static interface CampaignEventFilter.Builder
extends SdkPojo, CopyableBuilder<CampaignEventFilter.Builder,CampaignEventFilter>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CampaignEventFilter.Builder
dimensions
(Consumer<EventDimensions.Builder> dimensions) The dimension settings of the event filter for the campaign.dimensions
(EventDimensions dimensions) The dimension settings of the event filter for the campaign.filterType
(String filterType) The type of event that causes the campaign to be sent.filterType
(FilterType filterType) The type of event that causes the campaign to be sent.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 Details
-
dimensions
The dimension settings of the event filter for the campaign.
- Parameters:
dimensions
- The dimension settings of the event filter for the campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimension settings of the event filter for the campaign.
This is a convenience method that creates an instance of theEventDimensions.Builder
avoiding the need to create one manually viaEventDimensions.builder()
.When the
Consumer
completes,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:
-
filterType
The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.
- Parameters:
filterType
- The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign 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
The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.
- Parameters:
filterType
- The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-