Class CampaignEventFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CampaignEventFilter.Builder,CampaignEventFilter>
Specifies the settings for events that cause a campaign to be sent.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CampaignEventFilter.Builderbuilder()final EventDimensionsThe dimension settings of the event filter for the campaign.final booleanfinal booleanequalsBySdkFields(Object obj) final FilterTypeThe type of event that causes the campaign to be sent.final StringThe type of event that causes the campaign to be sent.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CampaignEventFilter.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dimensions
The dimension settings of the event filter for the campaign.
- Returns:
- The dimension settings of the event filter for the campaign.
-
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.
If the service returns an enum value that is not available in the current SDK version,
filterTypewill returnFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterTypeAsString().- Returns:
- 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.
- See Also:
-
filterTypeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
filterTypewill returnFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterTypeAsString().- Returns:
- 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.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CampaignEventFilter.Builder,CampaignEventFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-