Class TrackingOptions
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TrackingOptions.Builder,
TrackingOptions>
An object that defines the tracking options for a configuration set. When you use the Amazon SES API v2 to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them.
These images and links include references to a domain operated by Amazon Web Services. You can optionally configure the Amazon SES to use a domain that you operate for these images and links.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TrackingOptions.Builder
builder()
final String
The domain to use for tracking open and click events.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final HttpsPolicy
The https policy to use for tracking open and click events.final String
The https policy to use for tracking open and click events.static Class
<? extends TrackingOptions.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
customRedirectDomain
The domain to use for tracking open and click events.
- Returns:
- The domain to use for tracking open and click events.
-
httpsPolicy
The https policy to use for tracking open and click events.
If the service returns an enum value that is not available in the current SDK version,
httpsPolicy
will returnHttpsPolicy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhttpsPolicyAsString()
.- Returns:
- The https policy to use for tracking open and click events.
- See Also:
-
httpsPolicyAsString
The https policy to use for tracking open and click events.
If the service returns an enum value that is not available in the current SDK version,
httpsPolicy
will returnHttpsPolicy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhttpsPolicyAsString()
.- Returns:
- The https policy to use for tracking open and click events.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TrackingOptions.Builder,
TrackingOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-