public class CampaignEventFilter
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CampaignEventFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
EventDimensions |
getDimensions()
An object that defines the dimensions for the event filter.
|
java.lang.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(java.lang.String filterType)
The type of event that causes the campaign to be sent.
|
java.lang.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(java.lang.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 java.lang.String getFilterType()
Constraints:
Allowed Values: SYSTEM, ENDPOINT
FilterType
public void setFilterType(java.lang.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.FilterType
public CampaignEventFilter withFilterType(java.lang.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.FilterType
public 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.FilterType
public 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.FilterType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.