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.
This field is required.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 get_type(&self) -> &Option<EventSourceValues>
pub fn get_type(&self) -> &Option<EventSourceValues>
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 get_parameters(&self) -> &Option<EventParameters>
pub fn get_parameters(&self) -> &Option<EventParameters>
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 for EventSourceBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for EventSourceBuilder
Auto Trait Implementations§
impl Freeze for EventSourceBuilder
impl RefUnwindSafe for EventSourceBuilder
impl Send for EventSourceBuilder
impl Sync for EventSourceBuilder
impl Unpin for EventSourceBuilder
impl UnwindSafe for EventSourceBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.