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 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
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 Debug for RenderableTaskBuilder
impl Debug for RenderableTaskBuilder
source§impl Default for RenderableTaskBuilder
impl Default for RenderableTaskBuilder
source§fn default() -> RenderableTaskBuilder
fn default() -> RenderableTaskBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RenderableTaskBuilder> for RenderableTaskBuilder
impl PartialEq<RenderableTaskBuilder> for RenderableTaskBuilder
source§fn eq(&self, other: &RenderableTaskBuilder) -> bool
fn eq(&self, other: &RenderableTaskBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RenderableTaskBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more