@Generated(value="software.amazon.awssdk:codegen") public final class EventDimensions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventDimensions.Builder,EventDimensions>
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventDimensions.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AttributeDimension> |
attributes()
One or more custom attributes that your application reports to Amazon Pinpoint.
|
static EventDimensions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SetDimension |
eventType()
The name of the event that causes the campaign to be sent or the journey activity to be performed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasMetrics()
Returns true if the Metrics property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Map<String,MetricDimension> |
metrics()
One or more custom metrics that your application reports to Amazon Pinpoint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventDimensions.Builder> |
serializableBuilderClass() |
EventDimensions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasAttributes()
public Map<String,AttributeDimension> attributes()
One or more custom attributes that your application reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
public SetDimension eventType()
The name of the event that causes the campaign to be sent or the journey activity to be performed. This can be a standard event that Amazon Pinpoint generates, such as _email.delivered. For campaigns, this can also be a custom event that's specific to your application. For information about standard events, see Streaming Amazon Pinpoint Events in the Amazon Pinpoint Developer Guide.
public boolean hasMetrics()
public Map<String,MetricDimension> metrics()
One or more custom metrics that your application reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMetrics() to see if a value was sent in this field.
public EventDimensions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventDimensions.Builder,EventDimensions>public static EventDimensions.Builder builder()
public static Class<? extends EventDimensions.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.