@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReputationOptions extends Object implements Serializable, Cloneable, StructuredPojo
Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.
Constructor and Description |
---|
ReputationOptions() |
Modifier and Type | Method and Description |
---|---|
ReputationOptions |
clone() |
boolean |
equals(Object obj) |
Date |
getLastFreshStart()
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
|
Boolean |
getReputationMetricsEnabled()
If
true , tracking of reputation metrics is enabled for the configuration set. |
int |
hashCode() |
Boolean |
isReputationMetricsEnabled()
If
true , tracking of reputation metrics is enabled for the configuration set. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastFreshStart(Date lastFreshStart)
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
|
void |
setReputationMetricsEnabled(Boolean reputationMetricsEnabled)
If
true , tracking of reputation metrics is enabled for the configuration set. |
String |
toString()
Returns a string representation of this object.
|
ReputationOptions |
withLastFreshStart(Date lastFreshStart)
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
|
ReputationOptions |
withReputationMetricsEnabled(Boolean reputationMetricsEnabled)
If
true , tracking of reputation metrics is enabled for the configuration set. |
public void setReputationMetricsEnabled(Boolean reputationMetricsEnabled)
If true
, tracking of reputation metrics is enabled for the configuration set. If false
,
tracking of reputation metrics is disabled for the configuration set.
reputationMetricsEnabled
- If true
, tracking of reputation metrics is enabled for the configuration set. If
false
, tracking of reputation metrics is disabled for the configuration set.public Boolean getReputationMetricsEnabled()
If true
, tracking of reputation metrics is enabled for the configuration set. If false
,
tracking of reputation metrics is disabled for the configuration set.
true
, tracking of reputation metrics is enabled for the configuration set. If
false
, tracking of reputation metrics is disabled for the configuration set.public ReputationOptions withReputationMetricsEnabled(Boolean reputationMetricsEnabled)
If true
, tracking of reputation metrics is enabled for the configuration set. If false
,
tracking of reputation metrics is disabled for the configuration set.
reputationMetricsEnabled
- If true
, tracking of reputation metrics is enabled for the configuration set. If
false
, tracking of reputation metrics is disabled for the configuration set.public Boolean isReputationMetricsEnabled()
If true
, tracking of reputation metrics is enabled for the configuration set. If false
,
tracking of reputation metrics is disabled for the configuration set.
true
, tracking of reputation metrics is enabled for the configuration set. If
false
, tracking of reputation metrics is disabled for the configuration set.public void setLastFreshStart(Date lastFreshStart)
The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.
lastFreshStart
- The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your
account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh
start.public Date getLastFreshStart()
The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.
public ReputationOptions withLastFreshStart(Date lastFreshStart)
The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.
lastFreshStart
- The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your
account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh
start.public String toString()
toString
in class Object
Object.toString()
public ReputationOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.