pub struct Builder { /* private fields */ }
Expand description
A builder for CreateHumanTaskUiInput
.
Implementations§
source§impl Builder
impl Builder
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.
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 ui_template(self, input: UiTemplate) -> Self
pub fn ui_template(self, input: UiTemplate) -> Self
The Liquid template for the worker user interface.
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.
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.
sourcepub fn build(self) -> Result<CreateHumanTaskUiInput, BuildError>
pub fn build(self) -> Result<CreateHumanTaskUiInput, BuildError>
Consumes the builder and constructs a CreateHumanTaskUiInput
.