@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDimensions extends Object implements Serializable, Cloneable, StructuredPojo
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()
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()
Custom metrics that your app reports to Amazon Pinpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributes(Map<String,AttributeDimension> attributes)
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)
Custom metrics that your app reports to Amazon Pinpoint.
|
String |
toString()
Returns a string representation of this object.
|
EventDimensions |
withAttributes(Map<String,AttributeDimension> attributes)
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)
Custom metrics that your app reports to Amazon Pinpoint.
|
public Map<String,AttributeDimension> getAttributes()
public void setAttributes(Map<String,AttributeDimension> attributes)
attributes
- 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)
attributes
- 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)
eventType
- The name of the event that causes the campaign to be sent. This can be a standard event type that Amazon
Pinpoint generates, such as _session.start, or a custom event that's specific to your app.public SetDimension getEventType()
public EventDimensions withEventType(SetDimension eventType)
eventType
- The name of the event that causes the campaign to be sent. This can be a standard event type that Amazon
Pinpoint generates, such as _session.start, or a custom event that's specific to your app.public Map<String,MetricDimension> getMetrics()
public void setMetrics(Map<String,MetricDimension> metrics)
metrics
- Custom metrics that your app reports to Amazon Pinpoint. You can use these attributes as selection
criteria when you create an event filter.public EventDimensions withMetrics(Map<String,MetricDimension> metrics)
metrics
- Custom metrics that your app reports to Amazon Pinpoint. You can use these attributes 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)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.