Struct aws_sdk_sagemaker::operation::create_human_task_ui::builders::CreateHumanTaskUiInputBuilder
source · #[non_exhaustive]pub struct CreateHumanTaskUiInputBuilder { /* private fields */ }
Expand description
A builder for CreateHumanTaskUiInput
.
Implementations§
source§impl CreateHumanTaskUiInputBuilder
impl CreateHumanTaskUiInputBuilder
sourcepub fn human_task_ui_name(self, input: impl Into<String>) -> Self
pub fn human_task_ui_name(self, input: impl Into<String>) -> Self
The name of the user interface you are creating.
This field is required.sourcepub fn set_human_task_ui_name(self, input: Option<String>) -> Self
pub fn set_human_task_ui_name(self, input: Option<String>) -> Self
The name of the user interface you are creating.
sourcepub fn get_human_task_ui_name(&self) -> &Option<String>
pub fn get_human_task_ui_name(&self) -> &Option<String>
The name of the user interface you are creating.
sourcepub fn ui_template(self, input: UiTemplate) -> Self
pub fn ui_template(self, input: UiTemplate) -> Self
The Liquid template for the worker user interface.
This field is required.sourcepub fn set_ui_template(self, input: Option<UiTemplate>) -> Self
pub fn set_ui_template(self, input: Option<UiTemplate>) -> Self
The Liquid template for the worker user interface.
sourcepub fn get_ui_template(&self) -> &Option<UiTemplate>
pub fn get_ui_template(&self) -> &Option<UiTemplate>
The Liquid template for the worker user interface.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.
An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.
An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.
sourcepub fn build(self) -> Result<CreateHumanTaskUiInput, BuildError>
pub fn build(self) -> Result<CreateHumanTaskUiInput, BuildError>
Consumes the builder and constructs a CreateHumanTaskUiInput
.
source§impl CreateHumanTaskUiInputBuilder
impl CreateHumanTaskUiInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateHumanTaskUiOutput, SdkError<CreateHumanTaskUiError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateHumanTaskUiOutput, SdkError<CreateHumanTaskUiError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateHumanTaskUiInputBuilder
impl Clone for CreateHumanTaskUiInputBuilder
source§fn clone(&self) -> CreateHumanTaskUiInputBuilder
fn clone(&self) -> CreateHumanTaskUiInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateHumanTaskUiInputBuilder
impl Default for CreateHumanTaskUiInputBuilder
source§fn default() -> CreateHumanTaskUiInputBuilder
fn default() -> CreateHumanTaskUiInputBuilder
source§impl PartialEq for CreateHumanTaskUiInputBuilder
impl PartialEq for CreateHumanTaskUiInputBuilder
source§fn eq(&self, other: &CreateHumanTaskUiInputBuilder) -> bool
fn eq(&self, other: &CreateHumanTaskUiInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateHumanTaskUiInputBuilder
Auto Trait Implementations§
impl Freeze for CreateHumanTaskUiInputBuilder
impl RefUnwindSafe for CreateHumanTaskUiInputBuilder
impl Send for CreateHumanTaskUiInputBuilder
impl Sync for CreateHumanTaskUiInputBuilder
impl Unpin for CreateHumanTaskUiInputBuilder
impl UnwindSafe for CreateHumanTaskUiInputBuilder
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