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