#[non_exhaustive]pub struct SecurityControlsConfigurationBuilder { /* private fields */ }
Expand description
A builder for SecurityControlsConfiguration
.
Implementations§
source§impl SecurityControlsConfigurationBuilder
impl SecurityControlsConfigurationBuilder
sourcepub fn enabled_security_control_identifiers(
self,
input: impl Into<String>
) -> Self
pub fn enabled_security_control_identifiers( self, input: impl Into<String> ) -> Self
Appends an item to enabled_security_control_identifiers
.
To override the contents of this collection use set_enabled_security_control_identifiers
.
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
sourcepub fn set_enabled_security_control_identifiers(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_enabled_security_control_identifiers( self, input: Option<Vec<String>> ) -> Self
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
sourcepub fn get_enabled_security_control_identifiers(&self) -> &Option<Vec<String>>
pub fn get_enabled_security_control_identifiers(&self) -> &Option<Vec<String>>
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
sourcepub fn disabled_security_control_identifiers(
self,
input: impl Into<String>
) -> Self
pub fn disabled_security_control_identifiers( self, input: impl Into<String> ) -> Self
Appends an item to disabled_security_control_identifiers
.
To override the contents of this collection use set_disabled_security_control_identifiers
.
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
sourcepub fn set_disabled_security_control_identifiers(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_disabled_security_control_identifiers( self, input: Option<Vec<String>> ) -> Self
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
sourcepub fn get_disabled_security_control_identifiers(&self) -> &Option<Vec<String>>
pub fn get_disabled_security_control_identifiers(&self) -> &Option<Vec<String>>
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
sourcepub fn security_control_custom_parameters(
self,
input: SecurityControlCustomParameter
) -> Self
pub fn security_control_custom_parameters( self, input: SecurityControlCustomParameter ) -> Self
Appends an item to security_control_custom_parameters
.
To override the contents of this collection use set_security_control_custom_parameters
.
A list of security controls and control parameter values that are included in a configuration policy.
sourcepub fn set_security_control_custom_parameters(
self,
input: Option<Vec<SecurityControlCustomParameter>>
) -> Self
pub fn set_security_control_custom_parameters( self, input: Option<Vec<SecurityControlCustomParameter>> ) -> Self
A list of security controls and control parameter values that are included in a configuration policy.
sourcepub fn get_security_control_custom_parameters(
&self
) -> &Option<Vec<SecurityControlCustomParameter>>
pub fn get_security_control_custom_parameters( &self ) -> &Option<Vec<SecurityControlCustomParameter>>
A list of security controls and control parameter values that are included in a configuration policy.
sourcepub fn build(self) -> SecurityControlsConfiguration
pub fn build(self) -> SecurityControlsConfiguration
Consumes the builder and constructs a SecurityControlsConfiguration
.
Trait Implementations§
source§impl Clone for SecurityControlsConfigurationBuilder
impl Clone for SecurityControlsConfigurationBuilder
source§fn clone(&self) -> SecurityControlsConfigurationBuilder
fn clone(&self) -> SecurityControlsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SecurityControlsConfigurationBuilder
impl Default for SecurityControlsConfigurationBuilder
source§fn default() -> SecurityControlsConfigurationBuilder
fn default() -> SecurityControlsConfigurationBuilder
source§impl PartialEq for SecurityControlsConfigurationBuilder
impl PartialEq for SecurityControlsConfigurationBuilder
source§fn eq(&self, other: &SecurityControlsConfigurationBuilder) -> bool
fn eq(&self, other: &SecurityControlsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityControlsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SecurityControlsConfigurationBuilder
impl RefUnwindSafe for SecurityControlsConfigurationBuilder
impl Send for SecurityControlsConfigurationBuilder
impl Sync for SecurityControlsConfigurationBuilder
impl Unpin for SecurityControlsConfigurationBuilder
impl UnwindSafe for SecurityControlsConfigurationBuilder
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
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>
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>
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 more