Struct aws_sdk_sagemaker::operation::render_ui_template::builders::RenderUiTemplateInputBuilder
source · #[non_exhaustive]pub struct RenderUiTemplateInputBuilder { /* private fields */ }
Expand description
A builder for RenderUiTemplateInput
.
Implementations§
source§impl RenderUiTemplateInputBuilder
impl RenderUiTemplateInputBuilder
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 get_ui_template(&self) -> &Option<UiTemplate>
pub fn get_ui_template(&self) -> &Option<UiTemplate>
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 get_task(&self) -> &Option<RenderableTask>
pub fn get_task(&self) -> &Option<RenderableTask>
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.
This field is required.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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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 get_human_task_ui_arn(&self) -> &Option<String>
pub fn get_human_task_ui_arn(&self) -> &Option<String>
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
.
source§impl RenderUiTemplateInputBuilder
impl RenderUiTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RenderUiTemplateOutput, SdkError<RenderUiTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RenderUiTemplateOutput, SdkError<RenderUiTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RenderUiTemplateInputBuilder
impl Clone for RenderUiTemplateInputBuilder
source§fn clone(&self) -> RenderUiTemplateInputBuilder
fn clone(&self) -> RenderUiTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenderUiTemplateInputBuilder
impl Debug for RenderUiTemplateInputBuilder
source§impl Default for RenderUiTemplateInputBuilder
impl Default for RenderUiTemplateInputBuilder
source§fn default() -> RenderUiTemplateInputBuilder
fn default() -> RenderUiTemplateInputBuilder
source§impl PartialEq for RenderUiTemplateInputBuilder
impl PartialEq for RenderUiTemplateInputBuilder
source§fn eq(&self, other: &RenderUiTemplateInputBuilder) -> bool
fn eq(&self, other: &RenderUiTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.