@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventFilter extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for an event that causes a campaign to be sent or a journey activity to be performed.
Constructor and Description |
---|
EventFilter() |
Modifier and Type | Method and Description |
---|---|
EventFilter |
clone() |
boolean |
equals(Object obj) |
EventDimensions |
getDimensions()
The dimensions for the event filter to use for the campaign or the journey activity.
|
String |
getFilterType()
The type of event that causes the campaign to be sent or the journey activity to be performed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensions(EventDimensions dimensions)
The dimensions for the event filter to use for the campaign or the journey activity.
|
void |
setFilterType(String filterType)
The type of event that causes the campaign to be sent or the journey activity to be performed.
|
String |
toString()
Returns a string representation of this object.
|
EventFilter |
withDimensions(EventDimensions dimensions)
The dimensions for the event filter to use for the campaign or the journey activity.
|
EventFilter |
withFilterType(FilterType filterType)
The type of event that causes the campaign to be sent or the journey activity to be performed.
|
EventFilter |
withFilterType(String filterType)
The type of event that causes the campaign to be sent or the journey activity to be performed.
|
public void setDimensions(EventDimensions dimensions)
The dimensions for the event filter to use for the campaign or the journey activity.
dimensions
- The dimensions for the event filter to use for the campaign or the journey activity.public EventDimensions getDimensions()
The dimensions for the event filter to use for the campaign or the journey activity.
public EventFilter withDimensions(EventDimensions dimensions)
The dimensions for the event filter to use for the campaign or the journey activity.
dimensions
- The dimensions for the event filter to use for the campaign or the journey activity.public void setFilterType(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.
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.FilterType
public String getFilterType()
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.
FilterType
public EventFilter withFilterType(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.
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.FilterType
public EventFilter withFilterType(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.
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.FilterType
public String toString()
toString
in class Object
Object.toString()
public EventFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.