Struct aws_sdk_securityhub::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateSecurityHubConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSecurityHubConfigurationInput
.
Implementations§
source§impl UpdateSecurityHubConfigurationInputBuilder
impl UpdateSecurityHubConfigurationInputBuilder
sourcepub fn auto_enable_controls(self, input: bool) -> Self
pub fn auto_enable_controls(self, input: bool) -> Self
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to true
, and new controls are enabled automatically. To not automatically enable new controls, set this to false
.
sourcepub fn set_auto_enable_controls(self, input: Option<bool>) -> Self
pub fn set_auto_enable_controls(self, input: Option<bool>) -> Self
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to true
, and new controls are enabled automatically. To not automatically enable new controls, set this to false
.
sourcepub fn build(self) -> Result<UpdateSecurityHubConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateSecurityHubConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateSecurityHubConfigurationInput
.
Trait Implementations§
source§impl Clone for UpdateSecurityHubConfigurationInputBuilder
impl Clone for UpdateSecurityHubConfigurationInputBuilder
source§fn clone(&self) -> UpdateSecurityHubConfigurationInputBuilder
fn clone(&self) -> UpdateSecurityHubConfigurationInputBuilder
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 Default for UpdateSecurityHubConfigurationInputBuilder
impl Default for UpdateSecurityHubConfigurationInputBuilder
source§fn default() -> UpdateSecurityHubConfigurationInputBuilder
fn default() -> UpdateSecurityHubConfigurationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateSecurityHubConfigurationInputBuilder> for UpdateSecurityHubConfigurationInputBuilder
impl PartialEq<UpdateSecurityHubConfigurationInputBuilder> for UpdateSecurityHubConfigurationInputBuilder
source§fn eq(&self, other: &UpdateSecurityHubConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateSecurityHubConfigurationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.