Struct aws_sdk_quicksight::model::template_error::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TemplateError
.
Implementations§
source§impl Builder
impl Builder
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 set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
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
.
sourcepub fn set_violated_entities(self, input: Option<Vec<Entity>>) -> Self
pub fn set_violated_entities(self, input: Option<Vec<Entity>>) -> Self
sourcepub fn build(self) -> TemplateError
pub fn build(self) -> TemplateError
Consumes the builder and constructs a TemplateError
.