#[non_exhaustive]pub struct SecurityHubConfigurationBuilder { /* private fields */ }
Expand description
A builder for SecurityHubConfiguration
.
Implementations§
source§impl SecurityHubConfigurationBuilder
impl SecurityHubConfigurationBuilder
sourcepub fn publish_classification_findings(self, input: bool) -> Self
pub fn publish_classification_findings(self, input: bool) -> Self
Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.
This field is required.sourcepub fn set_publish_classification_findings(self, input: Option<bool>) -> Self
pub fn set_publish_classification_findings(self, input: Option<bool>) -> Self
Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.
sourcepub fn get_publish_classification_findings(&self) -> &Option<bool>
pub fn get_publish_classification_findings(&self) -> &Option<bool>
Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.
sourcepub fn publish_policy_findings(self, input: bool) -> Self
pub fn publish_policy_findings(self, input: bool) -> Self
Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.
This field is required.sourcepub fn set_publish_policy_findings(self, input: Option<bool>) -> Self
pub fn set_publish_policy_findings(self, input: Option<bool>) -> Self
Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.
sourcepub fn get_publish_policy_findings(&self) -> &Option<bool>
pub fn get_publish_policy_findings(&self) -> &Option<bool>
Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.
sourcepub fn build(self) -> SecurityHubConfiguration
pub fn build(self) -> SecurityHubConfiguration
Consumes the builder and constructs a SecurityHubConfiguration
.
Trait Implementations§
source§impl Clone for SecurityHubConfigurationBuilder
impl Clone for SecurityHubConfigurationBuilder
source§fn clone(&self) -> SecurityHubConfigurationBuilder
fn clone(&self) -> SecurityHubConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SecurityHubConfigurationBuilder
impl Default for SecurityHubConfigurationBuilder
source§fn default() -> SecurityHubConfigurationBuilder
fn default() -> SecurityHubConfigurationBuilder
source§impl PartialEq for SecurityHubConfigurationBuilder
impl PartialEq for SecurityHubConfigurationBuilder
source§fn eq(&self, other: &SecurityHubConfigurationBuilder) -> bool
fn eq(&self, other: &SecurityHubConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityHubConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SecurityHubConfigurationBuilder
impl RefUnwindSafe for SecurityHubConfigurationBuilder
impl Send for SecurityHubConfigurationBuilder
impl Sync for SecurityHubConfigurationBuilder
impl Unpin for SecurityHubConfigurationBuilder
impl UnwindSafe for SecurityHubConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more