#[non_exhaustive]pub struct ConfigStreamDeliveryInfoBuilder { /* private fields */ }Expand description
A builder for ConfigStreamDeliveryInfo.
Implementations§
source§impl ConfigStreamDeliveryInfoBuilder
impl ConfigStreamDeliveryInfoBuilder
sourcepub fn last_status(self, input: DeliveryStatus) -> Self
pub fn last_status(self, input: DeliveryStatus) -> Self
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
sourcepub fn set_last_status(self, input: Option<DeliveryStatus>) -> Self
pub fn set_last_status(self, input: Option<DeliveryStatus>) -> Self
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
sourcepub fn get_last_status(&self) -> &Option<DeliveryStatus>
pub fn get_last_status(&self) -> &Option<DeliveryStatus>
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
sourcepub fn last_error_code(self, input: impl Into<String>) -> Self
pub fn last_error_code(self, input: impl Into<String>) -> Self
The error code from the last attempted delivery.
sourcepub fn set_last_error_code(self, input: Option<String>) -> Self
pub fn set_last_error_code(self, input: Option<String>) -> Self
The error code from the last attempted delivery.
sourcepub fn get_last_error_code(&self) -> &Option<String>
pub fn get_last_error_code(&self) -> &Option<String>
The error code from the last attempted delivery.
sourcepub fn last_error_message(self, input: impl Into<String>) -> Self
pub fn last_error_message(self, input: impl Into<String>) -> Self
The error message from the last attempted delivery.
sourcepub fn set_last_error_message(self, input: Option<String>) -> Self
pub fn set_last_error_message(self, input: Option<String>) -> Self
The error message from the last attempted delivery.
sourcepub fn get_last_error_message(&self) -> &Option<String>
pub fn get_last_error_message(&self) -> &Option<String>
The error message from the last attempted delivery.
sourcepub fn last_status_change_time(self, input: DateTime) -> Self
pub fn last_status_change_time(self, input: DateTime) -> Self
The time from the last status change.
sourcepub fn set_last_status_change_time(self, input: Option<DateTime>) -> Self
pub fn set_last_status_change_time(self, input: Option<DateTime>) -> Self
The time from the last status change.
sourcepub fn get_last_status_change_time(&self) -> &Option<DateTime>
pub fn get_last_status_change_time(&self) -> &Option<DateTime>
The time from the last status change.
sourcepub fn build(self) -> ConfigStreamDeliveryInfo
pub fn build(self) -> ConfigStreamDeliveryInfo
Consumes the builder and constructs a ConfigStreamDeliveryInfo.
Trait Implementations§
source§impl Clone for ConfigStreamDeliveryInfoBuilder
impl Clone for ConfigStreamDeliveryInfoBuilder
source§fn clone(&self) -> ConfigStreamDeliveryInfoBuilder
fn clone(&self) -> ConfigStreamDeliveryInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfigStreamDeliveryInfoBuilder
impl Default for ConfigStreamDeliveryInfoBuilder
source§fn default() -> ConfigStreamDeliveryInfoBuilder
fn default() -> ConfigStreamDeliveryInfoBuilder
source§impl PartialEq for ConfigStreamDeliveryInfoBuilder
impl PartialEq for ConfigStreamDeliveryInfoBuilder
source§fn eq(&self, other: &ConfigStreamDeliveryInfoBuilder) -> bool
fn eq(&self, other: &ConfigStreamDeliveryInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfigStreamDeliveryInfoBuilder
Auto Trait Implementations§
impl Freeze for ConfigStreamDeliveryInfoBuilder
impl RefUnwindSafe for ConfigStreamDeliveryInfoBuilder
impl Send for ConfigStreamDeliveryInfoBuilder
impl Sync for ConfigStreamDeliveryInfoBuilder
impl Unpin for ConfigStreamDeliveryInfoBuilder
impl UnwindSafe for ConfigStreamDeliveryInfoBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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