#[non_exhaustive]pub struct AssessmentControlSetBuilder { /* private fields */ }
Expand description
A builder for AssessmentControlSet
.
Implementations§
source§impl AssessmentControlSetBuilder
impl AssessmentControlSetBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the control set in the assessment. This is the control set name in a plain string format.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the control set in the assessment. This is the control set name in a plain string format.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the control set in the assessment. This is the control set name in a plain string format.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the control set.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the control set.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the control set.
sourcepub fn status(self, input: ControlSetStatus) -> Self
pub fn status(self, input: ControlSetStatus) -> Self
The current status of the control set.
sourcepub fn set_status(self, input: Option<ControlSetStatus>) -> Self
pub fn set_status(self, input: Option<ControlSetStatus>) -> Self
The current status of the control set.
sourcepub fn get_status(&self) -> &Option<ControlSetStatus>
pub fn get_status(&self) -> &Option<ControlSetStatus>
The current status of the control set.
sourcepub fn roles(self, input: Role) -> Self
pub fn roles(self, input: Role) -> Self
Appends an item to roles
.
To override the contents of this collection use set_roles
.
The roles that are associated with the control set.
sourcepub fn set_roles(self, input: Option<Vec<Role>>) -> Self
pub fn set_roles(self, input: Option<Vec<Role>>) -> Self
The roles that are associated with the control set.
sourcepub fn get_roles(&self) -> &Option<Vec<Role>>
pub fn get_roles(&self) -> &Option<Vec<Role>>
The roles that are associated with the control set.
sourcepub fn controls(self, input: AssessmentControl) -> Self
pub fn controls(self, input: AssessmentControl) -> Self
Appends an item to controls
.
To override the contents of this collection use set_controls
.
The list of controls that's contained with the control set.
sourcepub fn set_controls(self, input: Option<Vec<AssessmentControl>>) -> Self
pub fn set_controls(self, input: Option<Vec<AssessmentControl>>) -> Self
The list of controls that's contained with the control set.
sourcepub fn get_controls(&self) -> &Option<Vec<AssessmentControl>>
pub fn get_controls(&self) -> &Option<Vec<AssessmentControl>>
The list of controls that's contained with the control set.
sourcepub fn delegations(self, input: Delegation) -> Self
pub fn delegations(self, input: Delegation) -> Self
Appends an item to delegations
.
To override the contents of this collection use set_delegations
.
The delegations that are associated with the control set.
sourcepub fn set_delegations(self, input: Option<Vec<Delegation>>) -> Self
pub fn set_delegations(self, input: Option<Vec<Delegation>>) -> Self
The delegations that are associated with the control set.
sourcepub fn get_delegations(&self) -> &Option<Vec<Delegation>>
pub fn get_delegations(&self) -> &Option<Vec<Delegation>>
The delegations that are associated with the control set.
sourcepub fn system_evidence_count(self, input: i32) -> Self
pub fn system_evidence_count(self, input: i32) -> Self
The total number of evidence objects that are retrieved automatically for the control set.
sourcepub fn set_system_evidence_count(self, input: Option<i32>) -> Self
pub fn set_system_evidence_count(self, input: Option<i32>) -> Self
The total number of evidence objects that are retrieved automatically for the control set.
sourcepub fn get_system_evidence_count(&self) -> &Option<i32>
pub fn get_system_evidence_count(&self) -> &Option<i32>
The total number of evidence objects that are retrieved automatically for the control set.
sourcepub fn manual_evidence_count(self, input: i32) -> Self
pub fn manual_evidence_count(self, input: i32) -> Self
The total number of evidence objects that are uploaded manually to the control set.
sourcepub fn set_manual_evidence_count(self, input: Option<i32>) -> Self
pub fn set_manual_evidence_count(self, input: Option<i32>) -> Self
The total number of evidence objects that are uploaded manually to the control set.
sourcepub fn get_manual_evidence_count(&self) -> &Option<i32>
pub fn get_manual_evidence_count(&self) -> &Option<i32>
The total number of evidence objects that are uploaded manually to the control set.
sourcepub fn build(self) -> AssessmentControlSet
pub fn build(self) -> AssessmentControlSet
Consumes the builder and constructs a AssessmentControlSet
.
Trait Implementations§
source§impl Clone for AssessmentControlSetBuilder
impl Clone for AssessmentControlSetBuilder
source§fn clone(&self) -> AssessmentControlSetBuilder
fn clone(&self) -> AssessmentControlSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssessmentControlSetBuilder
impl Debug for AssessmentControlSetBuilder
source§impl Default for AssessmentControlSetBuilder
impl Default for AssessmentControlSetBuilder
source§fn default() -> AssessmentControlSetBuilder
fn default() -> AssessmentControlSetBuilder
source§impl PartialEq for AssessmentControlSetBuilder
impl PartialEq for AssessmentControlSetBuilder
source§fn eq(&self, other: &AssessmentControlSetBuilder) -> bool
fn eq(&self, other: &AssessmentControlSetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.