@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrackingOptions extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
TrackingOptions() |
Modifier and Type | Method and Description |
---|---|
TrackingOptions |
clone() |
boolean |
equals(Object obj) |
String |
getCustomRedirectDomain()
The domain to use for tracking open and click events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomRedirectDomain(String customRedirectDomain)
The domain to use for tracking open and click events.
|
String |
toString()
Returns a string representation of this object.
|
TrackingOptions |
withCustomRedirectDomain(String customRedirectDomain)
The domain to use for tracking open and click events.
|
public void setCustomRedirectDomain(String customRedirectDomain)
The domain to use for tracking open and click events.
customRedirectDomain
- The domain to use for tracking open and click events.public String getCustomRedirectDomain()
The domain to use for tracking open and click events.
public TrackingOptions withCustomRedirectDomain(String customRedirectDomain)
The domain to use for tracking open and click events.
customRedirectDomain
- The domain to use for tracking open and click events.public String toString()
toString
in class Object
Object.toString()
public TrackingOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.