Struct aws_sdk_ses::types::builders::CloudWatchDestinationBuilder
source · #[non_exhaustive]pub struct CloudWatchDestinationBuilder { /* private fields */ }Expand description
A builder for CloudWatchDestination.
Implementations§
source§impl CloudWatchDestinationBuilder
impl CloudWatchDestinationBuilder
sourcepub fn dimension_configurations(
self,
input: CloudWatchDimensionConfiguration
) -> Self
pub fn dimension_configurations( self, input: CloudWatchDimensionConfiguration ) -> Self
Appends an item to dimension_configurations.
To override the contents of this collection use set_dimension_configurations.
A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
sourcepub fn set_dimension_configurations(
self,
input: Option<Vec<CloudWatchDimensionConfiguration>>
) -> Self
pub fn set_dimension_configurations( self, input: Option<Vec<CloudWatchDimensionConfiguration>> ) -> Self
A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
sourcepub fn get_dimension_configurations(
&self
) -> &Option<Vec<CloudWatchDimensionConfiguration>>
pub fn get_dimension_configurations( &self ) -> &Option<Vec<CloudWatchDimensionConfiguration>>
A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
sourcepub fn build(self) -> Result<CloudWatchDestination, BuildError>
pub fn build(self) -> Result<CloudWatchDestination, BuildError>
Consumes the builder and constructs a CloudWatchDestination.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CloudWatchDestinationBuilder
impl Clone for CloudWatchDestinationBuilder
source§fn clone(&self) -> CloudWatchDestinationBuilder
fn clone(&self) -> CloudWatchDestinationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CloudWatchDestinationBuilder
impl Debug for CloudWatchDestinationBuilder
source§impl Default for CloudWatchDestinationBuilder
impl Default for CloudWatchDestinationBuilder
source§fn default() -> CloudWatchDestinationBuilder
fn default() -> CloudWatchDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CloudWatchDestinationBuilder
impl PartialEq for CloudWatchDestinationBuilder
source§fn eq(&self, other: &CloudWatchDestinationBuilder) -> bool
fn eq(&self, other: &CloudWatchDestinationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CloudWatchDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CloudWatchDestinationBuilder
impl Send for CloudWatchDestinationBuilder
impl Sync for CloudWatchDestinationBuilder
impl Unpin for CloudWatchDestinationBuilder
impl UnwindSafe for CloudWatchDestinationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.