Struct aws_sdk_cloudwatchlogs::operation::describe_delivery_sources::builders::DescribeDeliverySourcesOutputBuilder
source · #[non_exhaustive]pub struct DescribeDeliverySourcesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeDeliverySourcesOutput
.
Implementations§
source§impl DescribeDeliverySourcesOutputBuilder
impl DescribeDeliverySourcesOutputBuilder
sourcepub fn delivery_sources(self, input: DeliverySource) -> Self
pub fn delivery_sources(self, input: DeliverySource) -> Self
Appends an item to delivery_sources
.
To override the contents of this collection use set_delivery_sources
.
An array of structures. Each structure contains information about one delivery source in the account.
sourcepub fn set_delivery_sources(self, input: Option<Vec<DeliverySource>>) -> Self
pub fn set_delivery_sources(self, input: Option<Vec<DeliverySource>>) -> Self
An array of structures. Each structure contains information about one delivery source in the account.
sourcepub fn get_delivery_sources(&self) -> &Option<Vec<DeliverySource>>
pub fn get_delivery_sources(&self) -> &Option<Vec<DeliverySource>>
An array of structures. Each structure contains information about one delivery source in the account.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn build(self) -> DescribeDeliverySourcesOutput
pub fn build(self) -> DescribeDeliverySourcesOutput
Consumes the builder and constructs a DescribeDeliverySourcesOutput
.
Trait Implementations§
source§impl Clone for DescribeDeliverySourcesOutputBuilder
impl Clone for DescribeDeliverySourcesOutputBuilder
source§fn clone(&self) -> DescribeDeliverySourcesOutputBuilder
fn clone(&self) -> DescribeDeliverySourcesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeDeliverySourcesOutputBuilder
impl Default for DescribeDeliverySourcesOutputBuilder
source§fn default() -> DescribeDeliverySourcesOutputBuilder
fn default() -> DescribeDeliverySourcesOutputBuilder
source§impl PartialEq for DescribeDeliverySourcesOutputBuilder
impl PartialEq for DescribeDeliverySourcesOutputBuilder
source§fn eq(&self, other: &DescribeDeliverySourcesOutputBuilder) -> bool
fn eq(&self, other: &DescribeDeliverySourcesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeDeliverySourcesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDeliverySourcesOutputBuilder
impl RefUnwindSafe for DescribeDeliverySourcesOutputBuilder
impl Send for DescribeDeliverySourcesOutputBuilder
impl Sync for DescribeDeliverySourcesOutputBuilder
impl Unpin for DescribeDeliverySourcesOutputBuilder
impl UnwindSafe for DescribeDeliverySourcesOutputBuilder
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