Struct aws_sdk_securityhub::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateOrganizationConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateOrganizationConfigurationInput
.
Implementations§
source§impl UpdateOrganizationConfigurationInputBuilder
impl UpdateOrganizationConfigurationInputBuilder
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 get_auto_enable(&self) -> &Option<bool>
pub fn get_auto_enable(&self) -> &Option<bool>
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 get_auto_enable_standards(&self) -> &Option<AutoEnableStandards>
pub fn get_auto_enable_standards(&self) -> &Option<AutoEnableStandards>
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
.
source§impl UpdateOrganizationConfigurationInputBuilder
impl UpdateOrganizationConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateOrganizationConfigurationOutput, SdkError<UpdateOrganizationConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateOrganizationConfigurationOutput, SdkError<UpdateOrganizationConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateOrganizationConfigurationInputBuilder
impl Clone for UpdateOrganizationConfigurationInputBuilder
source§fn clone(&self) -> UpdateOrganizationConfigurationInputBuilder
fn clone(&self) -> UpdateOrganizationConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateOrganizationConfigurationInputBuilder
impl Default for UpdateOrganizationConfigurationInputBuilder
source§fn default() -> UpdateOrganizationConfigurationInputBuilder
fn default() -> UpdateOrganizationConfigurationInputBuilder
source§impl PartialEq for UpdateOrganizationConfigurationInputBuilder
impl PartialEq for UpdateOrganizationConfigurationInputBuilder
source§fn eq(&self, other: &UpdateOrganizationConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateOrganizationConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.