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 ==
.impl StructuralPartialEq for RenderUiTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for RenderUiTemplateOutputBuilder
impl RefUnwindSafe for RenderUiTemplateOutputBuilder
impl Send for RenderUiTemplateOutputBuilder
impl Sync for RenderUiTemplateOutputBuilder
impl Unpin for RenderUiTemplateOutputBuilder
impl UnwindSafe for RenderUiTemplateOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more