#[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 ==
.