Struct aws_sdk_connect::model::task_template_field::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for TaskTemplateField
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more