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.
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 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 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
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 RenderUiTemplateOutputBuilder
impl Default for RenderUiTemplateOutputBuilder
source§fn default() -> RenderUiTemplateOutputBuilder
fn default() -> RenderUiTemplateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RenderUiTemplateOutputBuilder> for RenderUiTemplateOutputBuilder
impl PartialEq<RenderUiTemplateOutputBuilder> for RenderUiTemplateOutputBuilder
source§fn eq(&self, other: &RenderUiTemplateOutputBuilder) -> bool
fn eq(&self, other: &RenderUiTemplateOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.