Struct aws_sdk_ses::types::builders::ReputationOptionsBuilder
source · #[non_exhaustive]pub struct ReputationOptionsBuilder { /* private fields */ }
Expand description
A builder for ReputationOptions
.
Implementations§
source§impl ReputationOptionsBuilder
impl ReputationOptionsBuilder
sourcepub fn sending_enabled(self, input: bool) -> Self
pub fn sending_enabled(self, input: bool) -> Self
Describes whether email sending is enabled or disabled for the configuration set. If the value is true
, then Amazon SES sends emails that use the configuration set. If the value is false
, Amazon SES does not send emails that use the configuration set. The default value is true
. You can change this setting using UpdateConfigurationSetSendingEnabled
.
sourcepub fn set_sending_enabled(self, input: Option<bool>) -> Self
pub fn set_sending_enabled(self, input: Option<bool>) -> Self
Describes whether email sending is enabled or disabled for the configuration set. If the value is true
, then Amazon SES sends emails that use the configuration set. If the value is false
, Amazon SES does not send emails that use the configuration set. The default value is true
. You can change this setting using UpdateConfigurationSetSendingEnabled
.
sourcepub fn get_sending_enabled(&self) -> &Option<bool>
pub fn get_sending_enabled(&self) -> &Option<bool>
Describes whether email sending is enabled or disabled for the configuration set. If the value is true
, then Amazon SES sends emails that use the configuration set. If the value is false
, Amazon SES does not send emails that use the configuration set. The default value is true
. You can change this setting using UpdateConfigurationSetSendingEnabled
.
sourcepub fn reputation_metrics_enabled(self, input: bool) -> Self
pub fn reputation_metrics_enabled(self, input: bool) -> Self
Describes whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
If the value is true
, reputation metrics are published. If the value is false
, reputation metrics are not published. The default value is false
.
sourcepub fn set_reputation_metrics_enabled(self, input: Option<bool>) -> Self
pub fn set_reputation_metrics_enabled(self, input: Option<bool>) -> Self
Describes whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
If the value is true
, reputation metrics are published. If the value is false
, reputation metrics are not published. The default value is false
.
sourcepub fn get_reputation_metrics_enabled(&self) -> &Option<bool>
pub fn get_reputation_metrics_enabled(&self) -> &Option<bool>
Describes whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
If the value is true
, reputation metrics are published. If the value is false
, reputation metrics are not published. The default value is false
.
sourcepub fn last_fresh_start(self, input: DateTime) -> Self
pub fn last_fresh_start(self, input: DateTime) -> Self
The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
and later re-enable it, the reputation metrics for the configuration set (but not for the entire Amazon SES account) are reset.
If email sending for the configuration set has never been disabled and later re-enabled, the value of this attribute is null
.
sourcepub fn set_last_fresh_start(self, input: Option<DateTime>) -> Self
pub fn set_last_fresh_start(self, input: Option<DateTime>) -> Self
The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
and later re-enable it, the reputation metrics for the configuration set (but not for the entire Amazon SES account) are reset.
If email sending for the configuration set has never been disabled and later re-enabled, the value of this attribute is null
.
sourcepub fn get_last_fresh_start(&self) -> &Option<DateTime>
pub fn get_last_fresh_start(&self) -> &Option<DateTime>
The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
and later re-enable it, the reputation metrics for the configuration set (but not for the entire Amazon SES account) are reset.
If email sending for the configuration set has never been disabled and later re-enabled, the value of this attribute is null
.
sourcepub fn build(self) -> ReputationOptions
pub fn build(self) -> ReputationOptions
Consumes the builder and constructs a ReputationOptions
.
Trait Implementations§
source§impl Clone for ReputationOptionsBuilder
impl Clone for ReputationOptionsBuilder
source§fn clone(&self) -> ReputationOptionsBuilder
fn clone(&self) -> ReputationOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReputationOptionsBuilder
impl Debug for ReputationOptionsBuilder
source§impl Default for ReputationOptionsBuilder
impl Default for ReputationOptionsBuilder
source§fn default() -> ReputationOptionsBuilder
fn default() -> ReputationOptionsBuilder
source§impl PartialEq for ReputationOptionsBuilder
impl PartialEq for ReputationOptionsBuilder
source§fn eq(&self, other: &ReputationOptionsBuilder) -> bool
fn eq(&self, other: &ReputationOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.