Struct aws_sdk_connect::types::builders::EvaluationFormSingleSelectQuestionPropertiesBuilder
source · #[non_exhaustive]pub struct EvaluationFormSingleSelectQuestionPropertiesBuilder { /* private fields */ }
Expand description
A builder for EvaluationFormSingleSelectQuestionProperties
.
Implementations§
source§impl EvaluationFormSingleSelectQuestionPropertiesBuilder
impl EvaluationFormSingleSelectQuestionPropertiesBuilder
sourcepub fn options(self, input: EvaluationFormSingleSelectQuestionOption) -> Self
pub fn options(self, input: EvaluationFormSingleSelectQuestionOption) -> Self
Appends an item to options
.
To override the contents of this collection use set_options
.
The answer options of the single select question.
sourcepub fn set_options(
self,
input: Option<Vec<EvaluationFormSingleSelectQuestionOption>>
) -> Self
pub fn set_options( self, input: Option<Vec<EvaluationFormSingleSelectQuestionOption>> ) -> Self
The answer options of the single select question.
sourcepub fn get_options(
&self
) -> &Option<Vec<EvaluationFormSingleSelectQuestionOption>>
pub fn get_options( &self ) -> &Option<Vec<EvaluationFormSingleSelectQuestionOption>>
The answer options of the single select question.
sourcepub fn display_as(
self,
input: EvaluationFormSingleSelectQuestionDisplayMode
) -> Self
pub fn display_as( self, input: EvaluationFormSingleSelectQuestionDisplayMode ) -> Self
The display mode of the single select question.
sourcepub fn set_display_as(
self,
input: Option<EvaluationFormSingleSelectQuestionDisplayMode>
) -> Self
pub fn set_display_as( self, input: Option<EvaluationFormSingleSelectQuestionDisplayMode> ) -> Self
The display mode of the single select question.
sourcepub fn get_display_as(
&self
) -> &Option<EvaluationFormSingleSelectQuestionDisplayMode>
pub fn get_display_as( &self ) -> &Option<EvaluationFormSingleSelectQuestionDisplayMode>
The display mode of the single select question.
sourcepub fn automation(
self,
input: EvaluationFormSingleSelectQuestionAutomation
) -> Self
pub fn automation( self, input: EvaluationFormSingleSelectQuestionAutomation ) -> Self
The display mode of the single select question.
sourcepub fn set_automation(
self,
input: Option<EvaluationFormSingleSelectQuestionAutomation>
) -> Self
pub fn set_automation( self, input: Option<EvaluationFormSingleSelectQuestionAutomation> ) -> Self
The display mode of the single select question.
sourcepub fn get_automation(
&self
) -> &Option<EvaluationFormSingleSelectQuestionAutomation>
pub fn get_automation( &self ) -> &Option<EvaluationFormSingleSelectQuestionAutomation>
The display mode of the single select question.
sourcepub fn build(
self
) -> Result<EvaluationFormSingleSelectQuestionProperties, BuildError>
pub fn build( self ) -> Result<EvaluationFormSingleSelectQuestionProperties, BuildError>
Consumes the builder and constructs a EvaluationFormSingleSelectQuestionProperties
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl Clone for EvaluationFormSingleSelectQuestionPropertiesBuilder
source§fn clone(&self) -> EvaluationFormSingleSelectQuestionPropertiesBuilder
fn clone(&self) -> EvaluationFormSingleSelectQuestionPropertiesBuilder
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 Default for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl Default for EvaluationFormSingleSelectQuestionPropertiesBuilder
source§fn default() -> EvaluationFormSingleSelectQuestionPropertiesBuilder
fn default() -> EvaluationFormSingleSelectQuestionPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl PartialEq for EvaluationFormSingleSelectQuestionPropertiesBuilder
source§fn eq(
&self,
other: &EvaluationFormSingleSelectQuestionPropertiesBuilder
) -> bool
fn eq( &self, other: &EvaluationFormSingleSelectQuestionPropertiesBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationFormSingleSelectQuestionPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl Send for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl Sync for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl Unpin for EvaluationFormSingleSelectQuestionPropertiesBuilder
impl UnwindSafe for EvaluationFormSingleSelectQuestionPropertiesBuilder
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.