Struct aws_sdk_ses::types::builders::EventDestinationBuilder
source · #[non_exhaustive]pub struct EventDestinationBuilder { /* private fields */ }Expand description
A builder for EventDestination.
Implementations§
source§impl EventDestinationBuilder
impl EventDestinationBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the event destination. The name must:
-
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 64 characters.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the event destination. The name must:
-
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 64 characters.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.
sourcepub fn matching_event_types(self, input: EventType) -> Self
pub fn matching_event_types(self, input: EventType) -> Self
Appends an item to matching_event_types.
To override the contents of this collection use set_matching_event_types.
The type of email sending events to publish to the event destination.
sourcepub fn set_matching_event_types(self, input: Option<Vec<EventType>>) -> Self
pub fn set_matching_event_types(self, input: Option<Vec<EventType>>) -> Self
The type of email sending events to publish to the event destination.
sourcepub fn kinesis_firehose_destination(
self,
input: KinesisFirehoseDestination
) -> Self
pub fn kinesis_firehose_destination( self, input: KinesisFirehoseDestination ) -> Self
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
sourcepub fn set_kinesis_firehose_destination(
self,
input: Option<KinesisFirehoseDestination>
) -> Self
pub fn set_kinesis_firehose_destination( self, input: Option<KinesisFirehoseDestination> ) -> Self
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
sourcepub fn cloud_watch_destination(self, input: CloudWatchDestination) -> Self
pub fn cloud_watch_destination(self, input: CloudWatchDestination) -> Self
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
sourcepub fn set_cloud_watch_destination(
self,
input: Option<CloudWatchDestination>
) -> Self
pub fn set_cloud_watch_destination( self, input: Option<CloudWatchDestination> ) -> Self
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
sourcepub fn sns_destination(self, input: SnsDestination) -> Self
pub fn sns_destination(self, input: SnsDestination) -> Self
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
sourcepub fn set_sns_destination(self, input: Option<SnsDestination>) -> Self
pub fn set_sns_destination(self, input: Option<SnsDestination>) -> Self
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
sourcepub fn build(self) -> EventDestination
pub fn build(self) -> EventDestination
Consumes the builder and constructs a EventDestination.
Trait Implementations§
source§impl Clone for EventDestinationBuilder
impl Clone for EventDestinationBuilder
source§fn clone(&self) -> EventDestinationBuilder
fn clone(&self) -> EventDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EventDestinationBuilder
impl Debug for EventDestinationBuilder
source§impl Default for EventDestinationBuilder
impl Default for EventDestinationBuilder
source§fn default() -> EventDestinationBuilder
fn default() -> EventDestinationBuilder
source§impl PartialEq<EventDestinationBuilder> for EventDestinationBuilder
impl PartialEq<EventDestinationBuilder> for EventDestinationBuilder
source§fn eq(&self, other: &EventDestinationBuilder) -> bool
fn eq(&self, other: &EventDestinationBuilder) -> bool
self and other values to be equal, and is used
by ==.