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.
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<SanitizationWarningBuilder> for SanitizationWarningBuilder
impl PartialEq<SanitizationWarningBuilder> 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 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