Struct aws_sdk_sagemaker::output::render_ui_template_output::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for RenderUiTemplateOutput.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more