Struct aws_sdk_connect::model::task_template_field::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TaskTemplateField
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: TaskTemplateFieldIdentifier) -> Self
pub fn id(self, input: TaskTemplateFieldIdentifier) -> Self
The unique identifier for the field.
sourcepub fn set_id(self, input: Option<TaskTemplateFieldIdentifier>) -> Self
pub fn set_id(self, input: Option<TaskTemplateFieldIdentifier>) -> Self
The unique identifier for the field.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the field.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the field.
sourcepub fn type(self, input: TaskTemplateFieldType) -> Self
pub fn type(self, input: TaskTemplateFieldType) -> Self
Indicates the type of field.
sourcepub fn set_type(self, input: Option<TaskTemplateFieldType>) -> Self
pub fn set_type(self, input: Option<TaskTemplateFieldType>) -> Self
Indicates the type of field.
sourcepub fn single_select_options(self, input: impl Into<String>) -> Self
pub fn single_select_options(self, input: impl Into<String>) -> Self
Appends an item to single_select_options
.
To override the contents of this collection use set_single_select_options
.
A list of options for a single select field.
sourcepub fn set_single_select_options(self, input: Option<Vec<String>>) -> Self
pub fn set_single_select_options(self, input: Option<Vec<String>>) -> Self
A list of options for a single select field.
sourcepub fn build(self) -> TaskTemplateField
pub fn build(self) -> TaskTemplateField
Consumes the builder and constructs a TaskTemplateField
.