Struct aws_sdk_dlm::types::builders::EventSourceBuilder
source · #[non_exhaustive]pub struct EventSourceBuilder { /* private fields */ }Expand description
A builder for EventSource.
Implementations§
source§impl EventSourceBuilder
impl EventSourceBuilder
sourcepub fn type(self, input: EventSourceValues) -> Self
pub fn type(self, input: EventSourceValues) -> Self
The source of the event. Currently only managed CloudWatch Events rules are supported.
sourcepub fn set_type(self, input: Option<EventSourceValues>) -> Self
pub fn set_type(self, input: Option<EventSourceValues>) -> Self
The source of the event. Currently only managed CloudWatch Events rules are supported.
sourcepub fn parameters(self, input: EventParameters) -> Self
pub fn parameters(self, input: EventParameters) -> Self
Information about the event.
sourcepub fn set_parameters(self, input: Option<EventParameters>) -> Self
pub fn set_parameters(self, input: Option<EventParameters>) -> Self
Information about the event.
sourcepub fn build(self) -> EventSource
pub fn build(self) -> EventSource
Consumes the builder and constructs a EventSource.
Trait Implementations§
source§impl Clone for EventSourceBuilder
impl Clone for EventSourceBuilder
source§fn clone(&self) -> EventSourceBuilder
fn clone(&self) -> EventSourceBuilder
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 EventSourceBuilder
impl Debug for EventSourceBuilder
source§impl Default for EventSourceBuilder
impl Default for EventSourceBuilder
source§fn default() -> EventSourceBuilder
fn default() -> EventSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EventSourceBuilder> for EventSourceBuilder
impl PartialEq<EventSourceBuilder> for EventSourceBuilder
source§fn eq(&self, other: &EventSourceBuilder) -> bool
fn eq(&self, other: &EventSourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.