Struct aws_sdk_auditmanager::types::builders::ControlSetBuilder
source · #[non_exhaustive]pub struct ControlSetBuilder { /* private fields */ }Expand description
A builder for ControlSet.
Implementations§
source§impl ControlSetBuilder
impl ControlSetBuilder
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 controls(self, input: Control) -> Self
pub fn controls(self, input: Control) -> Self
Appends an item to controls.
To override the contents of this collection use set_controls.
The list of controls within the control set.
sourcepub fn set_controls(self, input: Option<Vec<Control>>) -> Self
pub fn set_controls(self, input: Option<Vec<Control>>) -> Self
The list of controls within the control set.
sourcepub fn build(self) -> ControlSet
pub fn build(self) -> ControlSet
Consumes the builder and constructs a ControlSet.
Trait Implementations§
source§impl Clone for ControlSetBuilder
impl Clone for ControlSetBuilder
source§fn clone(&self) -> ControlSetBuilder
fn clone(&self) -> ControlSetBuilder
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 ControlSetBuilder
impl Debug for ControlSetBuilder
source§impl Default for ControlSetBuilder
impl Default for ControlSetBuilder
source§fn default() -> ControlSetBuilder
fn default() -> ControlSetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ControlSetBuilder> for ControlSetBuilder
impl PartialEq<ControlSetBuilder> for ControlSetBuilder
source§fn eq(&self, other: &ControlSetBuilder) -> bool
fn eq(&self, other: &ControlSetBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.