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
source§fn eq(&self, other: &RenderableTaskBuilder) -> bool
fn eq(&self, other: &RenderableTaskBuilder) -> bool
self and other values to be equal, and is used
by ==.