Struct aws_sdk_sagemaker::input::render_ui_template_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RenderUiTemplateInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ui_template(self, input: UiTemplate) -> Self
pub fn ui_template(self, input: UiTemplate) -> Self
A Template
object containing the worker UI template to render.
sourcepub fn set_ui_template(self, input: Option<UiTemplate>) -> Self
pub fn set_ui_template(self, input: Option<UiTemplate>) -> Self
A Template
object containing the worker UI template to render.
sourcepub fn task(self, input: RenderableTask) -> Self
pub fn task(self, input: RenderableTask) -> Self
A RenderableTask
object containing a representative task to render.
sourcepub fn set_task(self, input: Option<RenderableTask>) -> Self
pub fn set_task(self, input: Option<RenderableTask>) -> Self
A RenderableTask
object containing a representative task to render.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
sourcepub fn human_task_ui_arn(self, input: impl Into<String>) -> Self
pub fn human_task_ui_arn(self, input: impl Into<String>) -> Self
The HumanTaskUiArn
of the worker UI that you want to render. Do not provide a HumanTaskUiArn
if you use the UiTemplate
parameter.
See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig
.
sourcepub fn set_human_task_ui_arn(self, input: Option<String>) -> Self
pub fn set_human_task_ui_arn(self, input: Option<String>) -> Self
The HumanTaskUiArn
of the worker UI that you want to render. Do not provide a HumanTaskUiArn
if you use the UiTemplate
parameter.
See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig
.
sourcepub fn build(self) -> Result<RenderUiTemplateInput, BuildError>
pub fn build(self) -> Result<RenderUiTemplateInput, BuildError>
Consumes the builder and constructs a RenderUiTemplateInput
.