#[non_exhaustive]pub struct EventDestinationDefinitionBuilder { /* private fields */ }
Expand description
A builder for EventDestinationDefinition
.
Implementations§
source§impl EventDestinationDefinitionBuilder
impl EventDestinationDefinitionBuilder
sourcepub fn cloud_watch_logs_destination(
self,
input: CloudWatchLogsDestination
) -> Self
pub fn cloud_watch_logs_destination( self, input: CloudWatchLogsDestination ) -> Self
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
sourcepub fn set_cloud_watch_logs_destination(
self,
input: Option<CloudWatchLogsDestination>
) -> Self
pub fn set_cloud_watch_logs_destination( self, input: Option<CloudWatchLogsDestination> ) -> Self
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
sourcepub fn get_cloud_watch_logs_destination(
&self
) -> &Option<CloudWatchLogsDestination>
pub fn get_cloud_watch_logs_destination( &self ) -> &Option<CloudWatchLogsDestination>
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
sourcepub fn kinesis_firehose_destination(
self,
input: KinesisFirehoseDestination
) -> Self
pub fn kinesis_firehose_destination( self, input: KinesisFirehoseDestination ) -> Self
An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
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 information about an event destination that sends data to Amazon Kinesis Data Firehose.
sourcepub fn get_kinesis_firehose_destination(
&self
) -> &Option<KinesisFirehoseDestination>
pub fn get_kinesis_firehose_destination( &self ) -> &Option<KinesisFirehoseDestination>
An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
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
.
An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an 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
An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.
sourcepub fn get_matching_event_types(&self) -> &Option<Vec<EventType>>
pub fn get_matching_event_types(&self) -> &Option<Vec<EventType>>
An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.
sourcepub fn sns_destination(self, input: SnsDestination) -> Self
pub fn sns_destination(self, input: SnsDestination) -> Self
An object that contains information about an event destination that sends data to Amazon SNS.
sourcepub fn set_sns_destination(self, input: Option<SnsDestination>) -> Self
pub fn set_sns_destination(self, input: Option<SnsDestination>) -> Self
An object that contains information about an event destination that sends data to Amazon SNS.
sourcepub fn get_sns_destination(&self) -> &Option<SnsDestination>
pub fn get_sns_destination(&self) -> &Option<SnsDestination>
An object that contains information about an event destination that sends data to Amazon SNS.
sourcepub fn build(self) -> EventDestinationDefinition
pub fn build(self) -> EventDestinationDefinition
Consumes the builder and constructs a EventDestinationDefinition
.
Trait Implementations§
source§impl Clone for EventDestinationDefinitionBuilder
impl Clone for EventDestinationDefinitionBuilder
source§fn clone(&self) -> EventDestinationDefinitionBuilder
fn clone(&self) -> EventDestinationDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EventDestinationDefinitionBuilder
impl Default for EventDestinationDefinitionBuilder
source§fn default() -> EventDestinationDefinitionBuilder
fn default() -> EventDestinationDefinitionBuilder
source§impl PartialEq for EventDestinationDefinitionBuilder
impl PartialEq for EventDestinationDefinitionBuilder
source§fn eq(&self, other: &EventDestinationDefinitionBuilder) -> bool
fn eq(&self, other: &EventDestinationDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventDestinationDefinitionBuilder
Auto Trait Implementations§
impl Freeze for EventDestinationDefinitionBuilder
impl RefUnwindSafe for EventDestinationDefinitionBuilder
impl Send for EventDestinationDefinitionBuilder
impl Sync for EventDestinationDefinitionBuilder
impl Unpin for EventDestinationDefinitionBuilder
impl UnwindSafe for EventDestinationDefinitionBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more