public class CampaignEventFilter extends Object implements Serializable
| Constructor and Description |
|---|
CampaignEventFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
EventDimensions |
getDimensions()
An object that defines the dimensions for the event filter.
|
String |
getFilterType()
The type of event that causes the campaign to be sent.
|
int |
hashCode() |
void |
setDimensions(EventDimensions dimensions)
An object that defines the dimensions for the event filter.
|
void |
setFilterType(FilterType filterType)
The type of event that causes the campaign to be sent.
|
void |
setFilterType(String filterType)
The type of event that causes the campaign to be sent.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CampaignEventFilter |
withDimensions(EventDimensions dimensions)
An object that defines the dimensions for the event filter.
|
CampaignEventFilter |
withFilterType(FilterType filterType)
The type of event that causes the campaign to be sent.
|
CampaignEventFilter |
withFilterType(String filterType)
The type of event that causes the campaign to be sent.
|
public EventDimensions getDimensions()
public void setDimensions(EventDimensions dimensions)
dimensions - An object that defines the dimensions for the event
filter.public CampaignEventFilter withDimensions(EventDimensions dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions - An object that defines the dimensions for the event
filter.public String getFilterType()
Constraints:
Allowed Values: SYSTEM, ENDPOINT
FilterTypepublic void setFilterType(String filterType)
Constraints:
Allowed Values: SYSTEM, ENDPOINT
filterType - The type of event that causes the campaign to be sent.
Possible values: SYSTEM - Send the campaign when a system
event occurs. See the System resource for more information.
ENDPOINT - Send the campaign when an endpoint event occurs.
See the Event resource for more information.FilterTypepublic CampaignEventFilter withFilterType(String filterType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SYSTEM, ENDPOINT
filterType - The type of event that causes the campaign to be sent.
Possible values: SYSTEM - Send the campaign when a system
event occurs. See the System resource for more information.
ENDPOINT - Send the campaign when an endpoint event occurs.
See the Event resource for more information.FilterTypepublic void setFilterType(FilterType filterType)
Constraints:
Allowed Values: SYSTEM, ENDPOINT
filterType - The type of event that causes the campaign to be sent.
Possible values: SYSTEM - Send the campaign when a system
event occurs. See the System resource for more information.
ENDPOINT - Send the campaign when an endpoint event occurs.
See the Event resource for more information.FilterTypepublic CampaignEventFilter withFilterType(FilterType filterType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SYSTEM, ENDPOINT
filterType - The type of event that causes the campaign to be sent.
Possible values: SYSTEM - Send the campaign when a system
event occurs. See the System resource for more information.
ENDPOINT - Send the campaign when an endpoint event occurs.
See the Event resource for more information.FilterTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.