Class TrackingOptions
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.TrackingOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TrackingOptions.Builder,TrackingOptions>
@Generated("software.amazon.awssdk:codegen") public final class TrackingOptions extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTrackingOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrackingOptions.Builderbuilder()StringcustomRedirectDomain()The domain to use for tracking open and click events.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HttpsPolicyhttpsPolicy()The https policy to use for tracking open and click events.StringhttpsPolicyAsString()The https policy to use for tracking open and click events.List<SdkField<?>>sdkFields()static Class<? extends TrackingOptions.Builder>serializableBuilderClass()TrackingOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
customRedirectDomain
public final String customRedirectDomain()
The domain to use for tracking open and click events.
- Returns:
- The domain to use for tracking open and click events.
-
httpsPolicy
public final HttpsPolicy 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,
httpsPolicywill 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:
HttpsPolicy
-
httpsPolicyAsString
public final String 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,
httpsPolicywill 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:
HttpsPolicy
-
toBuilder
public TrackingOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TrackingOptions.Builder,TrackingOptions>
-
builder
public static TrackingOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends TrackingOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-