#[non_exhaustive]pub struct OutboundContactNotPermittedExceptionBuilder { /* private fields */ }
Expand description
A builder for OutboundContactNotPermittedException
.
Implementations§
source§impl OutboundContactNotPermittedExceptionBuilder
impl OutboundContactNotPermittedExceptionBuilder
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message about the contact.
sourcepub fn meta(self, meta: ErrorMetadata) -> Self
pub fn meta(self, meta: ErrorMetadata) -> Self
Sets error metadata
sourcepub fn set_meta(&mut self, meta: Option<ErrorMetadata>) -> &mut Self
pub fn set_meta(&mut self, meta: Option<ErrorMetadata>) -> &mut Self
Sets error metadata
sourcepub fn build(self) -> OutboundContactNotPermittedException
pub fn build(self) -> OutboundContactNotPermittedException
Consumes the builder and constructs a OutboundContactNotPermittedException
.
Trait Implementations§
source§impl Clone for OutboundContactNotPermittedExceptionBuilder
impl Clone for OutboundContactNotPermittedExceptionBuilder
source§fn clone(&self) -> OutboundContactNotPermittedExceptionBuilder
fn clone(&self) -> OutboundContactNotPermittedExceptionBuilder
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 Default for OutboundContactNotPermittedExceptionBuilder
impl Default for OutboundContactNotPermittedExceptionBuilder
source§fn default() -> OutboundContactNotPermittedExceptionBuilder
fn default() -> OutboundContactNotPermittedExceptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<OutboundContactNotPermittedExceptionBuilder> for OutboundContactNotPermittedExceptionBuilder
impl PartialEq<OutboundContactNotPermittedExceptionBuilder> for OutboundContactNotPermittedExceptionBuilder
source§fn eq(&self, other: &OutboundContactNotPermittedExceptionBuilder) -> bool
fn eq(&self, other: &OutboundContactNotPermittedExceptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.