Struct aws_sdk_quicksight::types::builders::TemplateErrorBuilder
source · #[non_exhaustive]pub struct TemplateErrorBuilder { /* private fields */ }
Expand description
A builder for TemplateError
.
Implementations§
source§impl TemplateErrorBuilder
impl TemplateErrorBuilder
sourcepub fn type(self, input: TemplateErrorType) -> Self
pub fn type(self, input: TemplateErrorType) -> Self
Type of error.
sourcepub fn set_type(self, input: Option<TemplateErrorType>) -> Self
pub fn set_type(self, input: Option<TemplateErrorType>) -> Self
Type of error.
sourcepub fn get_type(&self) -> &Option<TemplateErrorType>
pub fn get_type(&self) -> &Option<TemplateErrorType>
Type of error.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Description of the error type.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Description of the error type.
sourcepub fn violated_entities(self, input: Entity) -> Self
pub fn violated_entities(self, input: Entity) -> Self
Appends an item to violated_entities
.
To override the contents of this collection use set_violated_entities
.
An error path that shows which entities caused the template error.
sourcepub fn set_violated_entities(self, input: Option<Vec<Entity>>) -> Self
pub fn set_violated_entities(self, input: Option<Vec<Entity>>) -> Self
An error path that shows which entities caused the template error.
sourcepub fn get_violated_entities(&self) -> &Option<Vec<Entity>>
pub fn get_violated_entities(&self) -> &Option<Vec<Entity>>
An error path that shows which entities caused the template error.
sourcepub fn build(self) -> TemplateError
pub fn build(self) -> TemplateError
Consumes the builder and constructs a TemplateError
.
Trait Implementations§
source§impl Clone for TemplateErrorBuilder
impl Clone for TemplateErrorBuilder
source§fn clone(&self) -> TemplateErrorBuilder
fn clone(&self) -> TemplateErrorBuilder
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 TemplateErrorBuilder
impl Debug for TemplateErrorBuilder
source§impl Default for TemplateErrorBuilder
impl Default for TemplateErrorBuilder
source§fn default() -> TemplateErrorBuilder
fn default() -> TemplateErrorBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TemplateErrorBuilder
impl PartialEq for TemplateErrorBuilder
source§fn eq(&self, other: &TemplateErrorBuilder) -> bool
fn eq(&self, other: &TemplateErrorBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TemplateErrorBuilder
Auto Trait Implementations§
impl Freeze for TemplateErrorBuilder
impl RefUnwindSafe for TemplateErrorBuilder
impl Send for TemplateErrorBuilder
impl Sync for TemplateErrorBuilder
impl Unpin for TemplateErrorBuilder
impl UnwindSafe for TemplateErrorBuilder
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.