Struct aws_sdk_cloudwatchlogs::operation::put_delivery_source::builders::PutDeliverySourceOutputBuilder
source · #[non_exhaustive]pub struct PutDeliverySourceOutputBuilder { /* private fields */ }
Expand description
A builder for PutDeliverySourceOutput
.
Implementations§
source§impl PutDeliverySourceOutputBuilder
impl PutDeliverySourceOutputBuilder
sourcepub fn delivery_source(self, input: DeliverySource) -> Self
pub fn delivery_source(self, input: DeliverySource) -> Self
A structure containing information about the delivery source that was just created or updated.
sourcepub fn set_delivery_source(self, input: Option<DeliverySource>) -> Self
pub fn set_delivery_source(self, input: Option<DeliverySource>) -> Self
A structure containing information about the delivery source that was just created or updated.
sourcepub fn get_delivery_source(&self) -> &Option<DeliverySource>
pub fn get_delivery_source(&self) -> &Option<DeliverySource>
A structure containing information about the delivery source that was just created or updated.
sourcepub fn build(self) -> PutDeliverySourceOutput
pub fn build(self) -> PutDeliverySourceOutput
Consumes the builder and constructs a PutDeliverySourceOutput
.
Trait Implementations§
source§impl Clone for PutDeliverySourceOutputBuilder
impl Clone for PutDeliverySourceOutputBuilder
source§fn clone(&self) -> PutDeliverySourceOutputBuilder
fn clone(&self) -> PutDeliverySourceOutputBuilder
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 Default for PutDeliverySourceOutputBuilder
impl Default for PutDeliverySourceOutputBuilder
source§fn default() -> PutDeliverySourceOutputBuilder
fn default() -> PutDeliverySourceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutDeliverySourceOutputBuilder
impl PartialEq for PutDeliverySourceOutputBuilder
source§fn eq(&self, other: &PutDeliverySourceOutputBuilder) -> bool
fn eq(&self, other: &PutDeliverySourceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutDeliverySourceOutputBuilder
Auto Trait Implementations§
impl Freeze for PutDeliverySourceOutputBuilder
impl RefUnwindSafe for PutDeliverySourceOutputBuilder
impl Send for PutDeliverySourceOutputBuilder
impl Sync for PutDeliverySourceOutputBuilder
impl Unpin for PutDeliverySourceOutputBuilder
impl UnwindSafe for PutDeliverySourceOutputBuilder
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.