Struct aws_sdk_connect::types::builders::TaskTemplateFieldBuilder
source · #[non_exhaustive]pub struct TaskTemplateFieldBuilder { /* private fields */ }
Expand description
A builder for TaskTemplateField
.
Implementations§
source§impl TaskTemplateFieldBuilder
impl TaskTemplateFieldBuilder
sourcepub fn id(self, input: TaskTemplateFieldIdentifier) -> Self
pub fn id(self, input: TaskTemplateFieldIdentifier) -> Self
The unique identifier for the field.
This field is required.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 get_id(&self) -> &Option<TaskTemplateFieldIdentifier>
pub fn get_id(&self) -> &Option<TaskTemplateFieldIdentifier>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_type(&self) -> &Option<TaskTemplateFieldType>
pub fn get_type(&self) -> &Option<TaskTemplateFieldType>
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 get_single_select_options(&self) -> &Option<Vec<String>>
pub fn get_single_select_options(&self) -> &Option<Vec<String>>
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§
source§impl Clone for TaskTemplateFieldBuilder
impl Clone for TaskTemplateFieldBuilder
source§fn clone(&self) -> TaskTemplateFieldBuilder
fn clone(&self) -> TaskTemplateFieldBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TaskTemplateFieldBuilder
impl Debug for TaskTemplateFieldBuilder
source§impl Default for TaskTemplateFieldBuilder
impl Default for TaskTemplateFieldBuilder
source§fn default() -> TaskTemplateFieldBuilder
fn default() -> TaskTemplateFieldBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TaskTemplateFieldBuilder
impl PartialEq for TaskTemplateFieldBuilder
source§fn eq(&self, other: &TaskTemplateFieldBuilder) -> bool
fn eq(&self, other: &TaskTemplateFieldBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskTemplateFieldBuilder
Auto Trait Implementations§
impl Freeze for TaskTemplateFieldBuilder
impl RefUnwindSafe for TaskTemplateFieldBuilder
impl Send for TaskTemplateFieldBuilder
impl Sync for TaskTemplateFieldBuilder
impl Unpin for TaskTemplateFieldBuilder
impl UnwindSafe for TaskTemplateFieldBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.