@Generated(value="software.amazon.awssdk:codegen") public final class CampaignEventFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignEventFilter.Builder,CampaignEventFilter>
Specifies the settings for events that cause a campaign to be sent.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignEventFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CampaignEventFilter.Builder |
builder() |
EventDimensions |
dimensions()
The dimension settings of the event filter for the campaign.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FilterType |
filterType()
The type of event that causes the campaign to be sent.
|
String |
filterTypeAsString()
The type of event that causes the campaign to be sent.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignEventFilter.Builder> |
serializableBuilderClass() |
CampaignEventFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EventDimensions dimensions()
The dimension settings of the event filter for the campaign.
public final FilterType 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.
If the service returns an enum value that is not available in the current SDK version, filterType will
return FilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
filterTypeAsString().
FilterTypepublic final String filterTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, filterType will
return FilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
filterTypeAsString().
FilterTypepublic CampaignEventFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignEventFilter.Builder,CampaignEventFilter>public static CampaignEventFilter.Builder builder()
public static Class<? extends CampaignEventFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.