pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateOrganizationConfigurationInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn auto_enable(self, input: bool) -> Self
pub fn auto_enable(self, input: bool) -> Self
Whether to automatically enable Security Hub for new accounts in the organization.
By default, this is false
, and new accounts are not added automatically.
To automatically enable Security Hub for new accounts, set this to true
.
sourcepub fn set_auto_enable(self, input: Option<bool>) -> Self
pub fn set_auto_enable(self, input: Option<bool>) -> Self
Whether to automatically enable Security Hub for new accounts in the organization.
By default, this is false
, and new accounts are not added automatically.
To automatically enable Security Hub for new accounts, set this to true
.
sourcepub fn auto_enable_standards(self, input: AutoEnableStandards) -> Self
pub fn auto_enable_standards(self, input: AutoEnableStandards) -> Self
Whether to automatically enable Security Hub default standards for new member accounts in the organization.
By default, this parameter is equal to DEFAULT
, and new member accounts are automatically enabled with default Security Hub standards.
To opt out of enabling default standards for new member accounts, set this parameter equal to NONE
.
sourcepub fn set_auto_enable_standards(
self,
input: Option<AutoEnableStandards>
) -> Self
pub fn set_auto_enable_standards(
self,
input: Option<AutoEnableStandards>
) -> Self
Whether to automatically enable Security Hub default standards for new member accounts in the organization.
By default, this parameter is equal to DEFAULT
, and new member accounts are automatically enabled with default Security Hub standards.
To opt out of enabling default standards for new member accounts, set this parameter equal to NONE
.
sourcepub fn build(self) -> Result<UpdateOrganizationConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateOrganizationConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateOrganizationConfigurationInput
.