Struct aws_sdk_sagemaker::operation::render_ui_template::builders::RenderUiTemplateOutputBuilder
source · #[non_exhaustive]pub struct RenderUiTemplateOutputBuilder { /* private fields */ }
Expand description
A builder for RenderUiTemplateOutput
.
Implementations§
source§impl RenderUiTemplateOutputBuilder
impl RenderUiTemplateOutputBuilder
sourcepub fn rendered_content(self, input: impl Into<String>) -> Self
pub fn rendered_content(self, input: impl Into<String>) -> Self
A Liquid template that renders the HTML for the worker UI.
This field is required.sourcepub fn set_rendered_content(self, input: Option<String>) -> Self
pub fn set_rendered_content(self, input: Option<String>) -> Self
A Liquid template that renders the HTML for the worker UI.
sourcepub fn get_rendered_content(&self) -> &Option<String>
pub fn get_rendered_content(&self) -> &Option<String>
A Liquid template that renders the HTML for the worker UI.
sourcepub fn errors(self, input: RenderingError) -> Self
pub fn errors(self, input: RenderingError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
A list of one or more RenderingError
objects if any were encountered while rendering the template. If there were no errors, the list is empty.
sourcepub fn set_errors(self, input: Option<Vec<RenderingError>>) -> Self
pub fn set_errors(self, input: Option<Vec<RenderingError>>) -> Self
A list of one or more RenderingError
objects if any were encountered while rendering the template. If there were no errors, the list is empty.
sourcepub fn get_errors(&self) -> &Option<Vec<RenderingError>>
pub fn get_errors(&self) -> &Option<Vec<RenderingError>>
A list of one or more RenderingError
objects if any were encountered while rendering the template. If there were no errors, the list is empty.
sourcepub fn build(self) -> RenderUiTemplateOutput
pub fn build(self) -> RenderUiTemplateOutput
Consumes the builder and constructs a RenderUiTemplateOutput
.
Trait Implementations§
source§impl Clone for RenderUiTemplateOutputBuilder
impl Clone for RenderUiTemplateOutputBuilder
source§fn clone(&self) -> RenderUiTemplateOutputBuilder
fn clone(&self) -> RenderUiTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RenderUiTemplateOutputBuilder
impl Default for RenderUiTemplateOutputBuilder
source§fn default() -> RenderUiTemplateOutputBuilder
fn default() -> RenderUiTemplateOutputBuilder
source§impl PartialEq for RenderUiTemplateOutputBuilder
impl PartialEq for RenderUiTemplateOutputBuilder
source§fn eq(&self, other: &RenderUiTemplateOutputBuilder) -> bool
fn eq(&self, other: &RenderUiTemplateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.