@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.FilterType
public 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.
FilterType
public 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.FilterType
public 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.FilterType
public String toString()
toString
in class Object
Object.toString()
public CampaignEventFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.