Struct aws_sdk_securityhub::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder
source · pub struct UpdateSecurityHubConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSecurityHubConfiguration
.
Updates configuration options for Security Hub.
Implementations§
source§impl UpdateSecurityHubConfigurationFluentBuilder
impl UpdateSecurityHubConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateSecurityHubConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateSecurityHubConfigurationInputBuilder
Access the UpdateSecurityHubConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateSecurityHubConfigurationOutput, SdkError<UpdateSecurityHubConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateSecurityHubConfigurationOutput, SdkError<UpdateSecurityHubConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateSecurityHubConfigurationOutput, UpdateSecurityHubConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateSecurityHubConfigurationOutput, UpdateSecurityHubConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for UpdateSecurityHubConfigurationFluentBuilder
impl Clone for UpdateSecurityHubConfigurationFluentBuilder
source§fn clone(&self) -> UpdateSecurityHubConfigurationFluentBuilder
fn clone(&self) -> UpdateSecurityHubConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more