Struct aws_sdk_connect::types::builders::EvaluationFormSingleSelectQuestionAutomationBuilder
source · #[non_exhaustive]pub struct EvaluationFormSingleSelectQuestionAutomationBuilder { /* private fields */ }
Expand description
A builder for EvaluationFormSingleSelectQuestionAutomation
.
Implementations§
source§impl EvaluationFormSingleSelectQuestionAutomationBuilder
impl EvaluationFormSingleSelectQuestionAutomationBuilder
sourcepub fn options(
self,
input: EvaluationFormSingleSelectQuestionAutomationOption
) -> Self
pub fn options( self, input: EvaluationFormSingleSelectQuestionAutomationOption ) -> Self
Appends an item to options
.
To override the contents of this collection use set_options
.
The automation options of the single select question.
sourcepub fn set_options(
self,
input: Option<Vec<EvaluationFormSingleSelectQuestionAutomationOption>>
) -> Self
pub fn set_options( self, input: Option<Vec<EvaluationFormSingleSelectQuestionAutomationOption>> ) -> Self
The automation options of the single select question.
sourcepub fn get_options(
&self
) -> &Option<Vec<EvaluationFormSingleSelectQuestionAutomationOption>>
pub fn get_options( &self ) -> &Option<Vec<EvaluationFormSingleSelectQuestionAutomationOption>>
The automation options of the single select question.
sourcepub fn default_option_ref_id(self, input: impl Into<String>) -> Self
pub fn default_option_ref_id(self, input: impl Into<String>) -> Self
The identifier of the default answer option, when none of the automation options match the criteria.
sourcepub fn set_default_option_ref_id(self, input: Option<String>) -> Self
pub fn set_default_option_ref_id(self, input: Option<String>) -> Self
The identifier of the default answer option, when none of the automation options match the criteria.
sourcepub fn get_default_option_ref_id(&self) -> &Option<String>
pub fn get_default_option_ref_id(&self) -> &Option<String>
The identifier of the default answer option, when none of the automation options match the criteria.
sourcepub fn build(
self
) -> Result<EvaluationFormSingleSelectQuestionAutomation, BuildError>
pub fn build( self ) -> Result<EvaluationFormSingleSelectQuestionAutomation, BuildError>
Consumes the builder and constructs a EvaluationFormSingleSelectQuestionAutomation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EvaluationFormSingleSelectQuestionAutomationBuilder
impl Clone for EvaluationFormSingleSelectQuestionAutomationBuilder
source§fn clone(&self) -> EvaluationFormSingleSelectQuestionAutomationBuilder
fn clone(&self) -> EvaluationFormSingleSelectQuestionAutomationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EvaluationFormSingleSelectQuestionAutomationBuilder
impl Default for EvaluationFormSingleSelectQuestionAutomationBuilder
source§fn default() -> EvaluationFormSingleSelectQuestionAutomationBuilder
fn default() -> EvaluationFormSingleSelectQuestionAutomationBuilder
source§impl PartialEq for EvaluationFormSingleSelectQuestionAutomationBuilder
impl PartialEq for EvaluationFormSingleSelectQuestionAutomationBuilder
source§fn eq(
&self,
other: &EvaluationFormSingleSelectQuestionAutomationBuilder
) -> bool
fn eq( &self, other: &EvaluationFormSingleSelectQuestionAutomationBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.