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 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 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 get_controls(&self) -> &Option<Vec<Control>>
pub fn get_controls(&self) -> &Option<Vec<Control>>
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 for ControlSetBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ControlSetBuilder
Auto Trait Implementations§
impl Freeze for ControlSetBuilder
impl RefUnwindSafe for ControlSetBuilder
impl Send for ControlSetBuilder
impl Sync for ControlSetBuilder
impl Unpin for ControlSetBuilder
impl UnwindSafe for ControlSetBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.