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 XML 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 XML 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 XML 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 XML element that has been sanitized.
sourcepub fn reason(self, input: SanitizationWarningReason) -> Self
pub fn reason(self, input: SanitizationWarningReason) -> Self
Required. The reason for which the XML elements or attributes were sanitized.
sourcepub fn set_reason(self, input: Option<SanitizationWarningReason>) -> Self
pub fn set_reason(self, input: Option<SanitizationWarningReason>) -> Self
Required. The reason for which the XML 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 ==.