@Generated(value="software.amazon.awssdk:codegen") public final class EventFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventFilter.Builder,EventFilter>
Specifies the settings for an event that causes a campaign to be sent or a journey activity to be performed.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventFilter.Builder |
builder() |
EventDimensions |
dimensions()
The dimensions for the event filter to use for the campaign or the journey activity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FilterType |
filterType()
The type of event that causes the campaign to be sent or the journey activity to be performed.
|
String |
filterTypeAsString()
The type of event that causes the campaign to be sent or the journey activity to be performed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventFilter.Builder> |
serializableBuilderClass() |
EventFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic EventDimensions dimensions()
The dimensions for the event filter to use for the campaign or the journey activity.
public 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.
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 String filterTypeAsString()
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.
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 EventFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventFilter.Builder,EventFilter>public static EventFilter.Builder builder()
public static Class<? extends EventFilter.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.