Struct aws_sdk_sagemaker::model::renderable_task::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RenderableTask
.
Implementations§
source§impl Builder
impl Builder
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
.