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 ==
.impl StructuralPartialEq for RenderUiTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for RenderUiTemplateInputBuilder
impl RefUnwindSafe for RenderUiTemplateInputBuilder
impl Send for RenderUiTemplateInputBuilder
impl Sync for RenderUiTemplateInputBuilder
impl Unpin for RenderUiTemplateInputBuilder
impl UnwindSafe for RenderUiTemplateInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more