#[non_exhaustive]pub struct EvaluationFormContentBuilder { /* private fields */ }
Expand description
A builder for EvaluationFormContent
.
Implementations§
source§impl EvaluationFormContentBuilder
impl EvaluationFormContentBuilder
sourcepub fn evaluation_form_version(self, input: i32) -> Self
pub fn evaluation_form_version(self, input: i32) -> Self
A version of the evaluation form.
This field is required.sourcepub fn set_evaluation_form_version(self, input: Option<i32>) -> Self
pub fn set_evaluation_form_version(self, input: Option<i32>) -> Self
A version of the evaluation form.
sourcepub fn get_evaluation_form_version(&self) -> &Option<i32>
pub fn get_evaluation_form_version(&self) -> &Option<i32>
A version of the evaluation form.
sourcepub fn evaluation_form_id(self, input: impl Into<String>) -> Self
pub fn evaluation_form_id(self, input: impl Into<String>) -> Self
The unique identifier for the evaluation form.
This field is required.sourcepub fn set_evaluation_form_id(self, input: Option<String>) -> Self
pub fn set_evaluation_form_id(self, input: Option<String>) -> Self
The unique identifier for the evaluation form.
sourcepub fn get_evaluation_form_id(&self) -> &Option<String>
pub fn get_evaluation_form_id(&self) -> &Option<String>
The unique identifier for the evaluation form.
sourcepub fn evaluation_form_arn(self, input: impl Into<String>) -> Self
pub fn evaluation_form_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the evaluation form resource.
This field is required.sourcepub fn set_evaluation_form_arn(self, input: Option<String>) -> Self
pub fn set_evaluation_form_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the evaluation form resource.
sourcepub fn get_evaluation_form_arn(&self) -> &Option<String>
pub fn get_evaluation_form_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the evaluation form resource.
sourcepub fn title(self, input: impl Into<String>) -> Self
pub fn title(self, input: impl Into<String>) -> Self
A title of the evaluation form.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the evaluation form.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the evaluation form.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the evaluation form.
sourcepub fn items(self, input: EvaluationFormItem) -> Self
pub fn items(self, input: EvaluationFormItem) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
sourcepub fn set_items(self, input: Option<Vec<EvaluationFormItem>>) -> Self
pub fn set_items(self, input: Option<Vec<EvaluationFormItem>>) -> Self
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
sourcepub fn get_items(&self) -> &Option<Vec<EvaluationFormItem>>
pub fn get_items(&self) -> &Option<Vec<EvaluationFormItem>>
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
sourcepub fn scoring_strategy(self, input: EvaluationFormScoringStrategy) -> Self
pub fn scoring_strategy(self, input: EvaluationFormScoringStrategy) -> Self
A scoring strategy of the evaluation form.
sourcepub fn set_scoring_strategy(
self,
input: Option<EvaluationFormScoringStrategy>
) -> Self
pub fn set_scoring_strategy( self, input: Option<EvaluationFormScoringStrategy> ) -> Self
A scoring strategy of the evaluation form.
sourcepub fn get_scoring_strategy(&self) -> &Option<EvaluationFormScoringStrategy>
pub fn get_scoring_strategy(&self) -> &Option<EvaluationFormScoringStrategy>
A scoring strategy of the evaluation form.
sourcepub fn build(self) -> Result<EvaluationFormContent, BuildError>
pub fn build(self) -> Result<EvaluationFormContent, BuildError>
Consumes the builder and constructs a EvaluationFormContent
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EvaluationFormContentBuilder
impl Clone for EvaluationFormContentBuilder
source§fn clone(&self) -> EvaluationFormContentBuilder
fn clone(&self) -> EvaluationFormContentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationFormContentBuilder
impl Debug for EvaluationFormContentBuilder
source§impl Default for EvaluationFormContentBuilder
impl Default for EvaluationFormContentBuilder
source§fn default() -> EvaluationFormContentBuilder
fn default() -> EvaluationFormContentBuilder
source§impl PartialEq for EvaluationFormContentBuilder
impl PartialEq for EvaluationFormContentBuilder
source§fn eq(&self, other: &EvaluationFormContentBuilder) -> bool
fn eq(&self, other: &EvaluationFormContentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.