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 get_auto_enable_controls(&self) -> &Option<bool>
pub fn get_auto_enable_controls(&self) -> &Option<bool>
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 control_finding_generator(self, input: ControlFindingGenerator) -> Self
pub fn control_finding_generator(self, input: ControlFindingGenerator) -> Self
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL
, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.
If the value for this field is set to STANDARD_CONTROL
, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
For accounts that are part of an organization, this value can only be updated in the administrator account.
sourcepub fn set_control_finding_generator(
self,
input: Option<ControlFindingGenerator>
) -> Self
pub fn set_control_finding_generator( self, input: Option<ControlFindingGenerator> ) -> Self
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL
, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.
If the value for this field is set to STANDARD_CONTROL
, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
For accounts that are part of an organization, this value can only be updated in the administrator account.
sourcepub fn get_control_finding_generator(&self) -> &Option<ControlFindingGenerator>
pub fn get_control_finding_generator(&self) -> &Option<ControlFindingGenerator>
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL
, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.
If the value for this field is set to STANDARD_CONTROL
, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
For accounts that are part of an organization, this value can only be updated in the administrator account.
sourcepub fn build(self) -> Result<UpdateSecurityHubConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateSecurityHubConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateSecurityHubConfigurationInput
.
source§impl UpdateSecurityHubConfigurationInputBuilder
impl UpdateSecurityHubConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSecurityHubConfigurationOutput, SdkError<UpdateSecurityHubConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSecurityHubConfigurationOutput, SdkError<UpdateSecurityHubConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSecurityHubConfigurationInputBuilder
impl Clone for UpdateSecurityHubConfigurationInputBuilder
source§fn clone(&self) -> UpdateSecurityHubConfigurationInputBuilder
fn clone(&self) -> UpdateSecurityHubConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateSecurityHubConfigurationInputBuilder
impl Default for UpdateSecurityHubConfigurationInputBuilder
source§fn default() -> UpdateSecurityHubConfigurationInputBuilder
fn default() -> UpdateSecurityHubConfigurationInputBuilder
source§impl PartialEq for UpdateSecurityHubConfigurationInputBuilder
impl PartialEq for UpdateSecurityHubConfigurationInputBuilder
source§fn eq(&self, other: &UpdateSecurityHubConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateSecurityHubConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.