Class TrackingConfigurationOverrides
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TrackingConfigurationOverrides.Builder,TrackingConfigurationOverrides>
An object that overrides, for a single email sending request, the engagement tracking settings that would otherwise apply. Use these overrides to turn open tracking or click tracking on or off for an individual message, for example to suppress tracking in a transactional message that you send from an account or a configuration set that has tracking enabled.
Without an override, engagement tracking is determined by your account-level EngagementMetrics setting,
which you configure using the PutAccountVdmAttributes operation, by the EngagementMetrics
setting of the configuration set that the message uses, which you configure using the
PutConfigurationSetVdmOptions operation, and by whether that configuration set has an event destination
whose MatchingEventTypes include the OPEN or CLICK event types.
For more information about tracking open and click events, see the Amazon SES Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final FeatureStatusSpecifies whether Amazon SES tracks when the recipient clicks a link in this message.final StringSpecifies whether Amazon SES tracks when the recipient clicks a link in this message.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final FeatureStatusSpecifies whether Amazon SES tracks when the recipient opens this message.final StringSpecifies whether Amazon SES tracks when the recipient opens this message.static Class<? extends TrackingConfigurationOverrides.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
openTrackingEnabled
Specifies whether Amazon SES tracks when the recipient opens this message. Can be one of the following:
-
ENABLED– Amazon SES tracks opens for this message, even when your account-level and configuration set settings don't enable open tracking. -
DISABLED– Amazon SES doesn't track opens for this message, even when your account-level or configuration set settings enable open tracking. Amazon SES doesn't add the tracking image to the message.
If you don't specify this value, Amazon SES uses the open tracking setting that would otherwise apply to the message.
If the service returns an enum value that is not available in the current SDK version,
openTrackingEnabledwill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromopenTrackingEnabledAsString().- Returns:
- Specifies whether Amazon SES tracks when the recipient opens this message. Can be one of the
following:
-
ENABLED– Amazon SES tracks opens for this message, even when your account-level and configuration set settings don't enable open tracking. -
DISABLED– Amazon SES doesn't track opens for this message, even when your account-level or configuration set settings enable open tracking. Amazon SES doesn't add the tracking image to the message.
If you don't specify this value, Amazon SES uses the open tracking setting that would otherwise apply to the message.
-
- See Also:
-
-
openTrackingEnabledAsString
Specifies whether Amazon SES tracks when the recipient opens this message. Can be one of the following:
-
ENABLED– Amazon SES tracks opens for this message, even when your account-level and configuration set settings don't enable open tracking. -
DISABLED– Amazon SES doesn't track opens for this message, even when your account-level or configuration set settings enable open tracking. Amazon SES doesn't add the tracking image to the message.
If you don't specify this value, Amazon SES uses the open tracking setting that would otherwise apply to the message.
If the service returns an enum value that is not available in the current SDK version,
openTrackingEnabledwill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromopenTrackingEnabledAsString().- Returns:
- Specifies whether Amazon SES tracks when the recipient opens this message. Can be one of the
following:
-
ENABLED– Amazon SES tracks opens for this message, even when your account-level and configuration set settings don't enable open tracking. -
DISABLED– Amazon SES doesn't track opens for this message, even when your account-level or configuration set settings enable open tracking. Amazon SES doesn't add the tracking image to the message.
If you don't specify this value, Amazon SES uses the open tracking setting that would otherwise apply to the message.
-
- See Also:
-
-
clickTrackingEnabled
Specifies whether Amazon SES tracks when the recipient clicks a link in this message. Can be one of the following:
-
ENABLED– Amazon SES tracks clicks for this message, even when your account-level and configuration set settings don't enable click tracking. -
DISABLED– Amazon SES doesn't track clicks for this message, even when your account-level or configuration set settings enable click tracking. Amazon SES doesn't rewrite the links in the message.
If you don't specify this value, Amazon SES uses the click tracking setting that would otherwise apply to the message.
Enabling open or click tracking with an override doesn't create an event destination. Amazon SES records the resulting open and click events in VDM, where you can review them using VDM metrics and Message Insights. To also receive these events at a destination that you own, the configuration set that the message uses must have an event destination that publishes open and click events.
If the service returns an enum value that is not available in the current SDK version,
clickTrackingEnabledwill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclickTrackingEnabledAsString().- Returns:
- Specifies whether Amazon SES tracks when the recipient clicks a link in this message. Can be one of the
following:
-
ENABLED– Amazon SES tracks clicks for this message, even when your account-level and configuration set settings don't enable click tracking. -
DISABLED– Amazon SES doesn't track clicks for this message, even when your account-level or configuration set settings enable click tracking. Amazon SES doesn't rewrite the links in the message.
If you don't specify this value, Amazon SES uses the click tracking setting that would otherwise apply to the message.
Enabling open or click tracking with an override doesn't create an event destination. Amazon SES records the resulting open and click events in VDM, where you can review them using VDM metrics and Message Insights. To also receive these events at a destination that you own, the configuration set that the message uses must have an event destination that publishes open and click events.
-
- See Also:
-
-
clickTrackingEnabledAsString
Specifies whether Amazon SES tracks when the recipient clicks a link in this message. Can be one of the following:
-
ENABLED– Amazon SES tracks clicks for this message, even when your account-level and configuration set settings don't enable click tracking. -
DISABLED– Amazon SES doesn't track clicks for this message, even when your account-level or configuration set settings enable click tracking. Amazon SES doesn't rewrite the links in the message.
If you don't specify this value, Amazon SES uses the click tracking setting that would otherwise apply to the message.
Enabling open or click tracking with an override doesn't create an event destination. Amazon SES records the resulting open and click events in VDM, where you can review them using VDM metrics and Message Insights. To also receive these events at a destination that you own, the configuration set that the message uses must have an event destination that publishes open and click events.
If the service returns an enum value that is not available in the current SDK version,
clickTrackingEnabledwill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclickTrackingEnabledAsString().- Returns:
- Specifies whether Amazon SES tracks when the recipient clicks a link in this message. Can be one of the
following:
-
ENABLED– Amazon SES tracks clicks for this message, even when your account-level and configuration set settings don't enable click tracking. -
DISABLED– Amazon SES doesn't track clicks for this message, even when your account-level or configuration set settings enable click tracking. Amazon SES doesn't rewrite the links in the message.
If you don't specify this value, Amazon SES uses the click tracking setting that would otherwise apply to the message.
Enabling open or click tracking with an override doesn't create an event destination. Amazon SES records the resulting open and click events in VDM, where you can review them using VDM metrics and Message Insights. To also receive these events at a destination that you own, the configuration set that the message uses must have an event destination that publishes open and click events.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TrackingConfigurationOverrides.Builder,TrackingConfigurationOverrides> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-