Struct aws_sdk_sagemaker::types::builders::RenderableTaskBuilder
source · #[non_exhaustive]pub struct RenderableTaskBuilder { /* private fields */ }
Expand description
A builder for RenderableTask
.
Implementations§
source§impl RenderableTaskBuilder
impl RenderableTaskBuilder
sourcepub fn input(self, input: impl Into<String>) -> Self
pub fn input(self, input: impl Into<String>) -> Self
A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable task.input
. For example, if you define a variable task.input.text
in your template, you can supply the variable in the JSON object as "text": "sample text"
.
sourcepub fn set_input(self, input: Option<String>) -> Self
pub fn set_input(self, input: Option<String>) -> Self
A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable task.input
. For example, if you define a variable task.input.text
in your template, you can supply the variable in the JSON object as "text": "sample text"
.
sourcepub fn get_input(&self) -> &Option<String>
pub fn get_input(&self) -> &Option<String>
A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable task.input
. For example, if you define a variable task.input.text
in your template, you can supply the variable in the JSON object as "text": "sample text"
.
sourcepub fn build(self) -> RenderableTask
pub fn build(self) -> RenderableTask
Consumes the builder and constructs a RenderableTask
.
Trait Implementations§
source§impl Clone for RenderableTaskBuilder
impl Clone for RenderableTaskBuilder
source§fn clone(&self) -> RenderableTaskBuilder
fn clone(&self) -> RenderableTaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenderableTaskBuilder
impl Debug for RenderableTaskBuilder
source§impl Default for RenderableTaskBuilder
impl Default for RenderableTaskBuilder
source§fn default() -> RenderableTaskBuilder
fn default() -> RenderableTaskBuilder
source§impl PartialEq for RenderableTaskBuilder
impl PartialEq for RenderableTaskBuilder
impl StructuralPartialEq for RenderableTaskBuilder
Auto Trait Implementations§
impl Freeze for RenderableTaskBuilder
impl RefUnwindSafe for RenderableTaskBuilder
impl Send for RenderableTaskBuilder
impl Sync for RenderableTaskBuilder
impl Unpin for RenderableTaskBuilder
impl UnwindSafe for RenderableTaskBuilder
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