@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDimensions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the dimensions for an event filter that determines when a campaign is sent.
Constructor and Description |
---|
EventDimensions() |
Modifier and Type | Method and Description |
---|---|
EventDimensions |
addAttributesEntry(String key,
AttributeDimension value) |
EventDimensions |
addMetricsEntry(String key,
MetricDimension value) |
EventDimensions |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
EventDimensions |
clearMetricsEntries()
Removes all the entries added into Metrics.
|
EventDimensions |
clone() |
boolean |
equals(Object obj) |
Map<String,AttributeDimension> |
getAttributes()
One or more custom attributes that your app reports to Amazon Pinpoint.
|
SetDimension |
getEventType()
The name of the event that causes the campaign to be sent.
|
Map<String,MetricDimension> |
getMetrics()
One or more custom metrics that your app reports to Amazon Pinpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,AttributeDimension> attributes)
One or more custom attributes that your app reports to Amazon Pinpoint.
|
void |
setEventType(SetDimension eventType)
The name of the event that causes the campaign to be sent.
|
void |
setMetrics(Map<String,MetricDimension> metrics)
One or more custom metrics that your app reports to Amazon Pinpoint.
|
String |
toString()
Returns a string representation of this object.
|
EventDimensions |
withAttributes(Map<String,AttributeDimension> attributes)
One or more custom attributes that your app reports to Amazon Pinpoint.
|
EventDimensions |
withEventType(SetDimension eventType)
The name of the event that causes the campaign to be sent.
|
EventDimensions |
withMetrics(Map<String,MetricDimension> metrics)
One or more custom metrics that your app reports to Amazon Pinpoint.
|
public Map<String,AttributeDimension> getAttributes()
One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
public void setAttributes(Map<String,AttributeDimension> attributes)
One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
attributes
- One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as
selection criteria when you create an event filter.public EventDimensions withAttributes(Map<String,AttributeDimension> attributes)
One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
attributes
- One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as
selection criteria when you create an event filter.public EventDimensions addAttributesEntry(String key, AttributeDimension value)
public EventDimensions clearAttributesEntries()
public void setEventType(SetDimension eventType)
The name of the event that causes the campaign to be sent. This can be a standard type of event that Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.
eventType
- The name of the event that causes the campaign to be sent. This can be a standard type of event that
Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.public SetDimension getEventType()
The name of the event that causes the campaign to be sent. This can be a standard type of event that Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.
public EventDimensions withEventType(SetDimension eventType)
The name of the event that causes the campaign to be sent. This can be a standard type of event that Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.
eventType
- The name of the event that causes the campaign to be sent. This can be a standard type of event that
Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.public Map<String,MetricDimension> getMetrics()
One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
public void setMetrics(Map<String,MetricDimension> metrics)
One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
metrics
- One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as
selection criteria when you create an event filter.public EventDimensions withMetrics(Map<String,MetricDimension> metrics)
One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
metrics
- One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as
selection criteria when you create an event filter.public EventDimensions addMetricsEntry(String key, MetricDimension value)
public EventDimensions clearMetricsEntries()
public String toString()
toString
in class Object
Object.toString()
public EventDimensions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.