Struct aws_sdk_mq::types::builders::SanitizationWarningBuilder
source · #[non_exhaustive]pub struct SanitizationWarningBuilder { /* private fields */ }
Expand description
A builder for SanitizationWarning
.
Implementations§
source§impl SanitizationWarningBuilder
impl SanitizationWarningBuilder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the configuration attribute that has been sanitized.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the configuration attribute that has been sanitized.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
The name of the configuration attribute that has been sanitized.
sourcepub fn element_name(self, input: impl Into<String>) -> Self
pub fn element_name(self, input: impl Into<String>) -> Self
The name of the configuration element that has been sanitized.
sourcepub fn set_element_name(self, input: Option<String>) -> Self
pub fn set_element_name(self, input: Option<String>) -> Self
The name of the configuration element that has been sanitized.
sourcepub fn get_element_name(&self) -> &Option<String>
pub fn get_element_name(&self) -> &Option<String>
The name of the configuration element that has been sanitized.
sourcepub fn reason(self, input: SanitizationWarningReason) -> Self
pub fn reason(self, input: SanitizationWarningReason) -> Self
The reason for which the configuration elements or attributes were sanitized.
This field is required.sourcepub fn set_reason(self, input: Option<SanitizationWarningReason>) -> Self
pub fn set_reason(self, input: Option<SanitizationWarningReason>) -> Self
The reason for which the configuration elements or attributes were sanitized.
sourcepub fn get_reason(&self) -> &Option<SanitizationWarningReason>
pub fn get_reason(&self) -> &Option<SanitizationWarningReason>
The reason for which the configuration elements or attributes were sanitized.
sourcepub fn build(self) -> SanitizationWarning
pub fn build(self) -> SanitizationWarning
Consumes the builder and constructs a SanitizationWarning
.
Trait Implementations§
source§impl Clone for SanitizationWarningBuilder
impl Clone for SanitizationWarningBuilder
source§fn clone(&self) -> SanitizationWarningBuilder
fn clone(&self) -> SanitizationWarningBuilder
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 SanitizationWarningBuilder
impl Debug for SanitizationWarningBuilder
source§impl Default for SanitizationWarningBuilder
impl Default for SanitizationWarningBuilder
source§fn default() -> SanitizationWarningBuilder
fn default() -> SanitizationWarningBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SanitizationWarningBuilder
impl PartialEq for SanitizationWarningBuilder
source§fn eq(&self, other: &SanitizationWarningBuilder) -> bool
fn eq(&self, other: &SanitizationWarningBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SanitizationWarningBuilder
Auto Trait Implementations§
impl Freeze for SanitizationWarningBuilder
impl RefUnwindSafe for SanitizationWarningBuilder
impl Send for SanitizationWarningBuilder
impl Sync for SanitizationWarningBuilder
impl Unpin for SanitizationWarningBuilder
impl UnwindSafe for SanitizationWarningBuilder
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.