Struct aws_sdk_auditmanager::types::builders::InsightsBuilder
source · #[non_exhaustive]pub struct InsightsBuilder { /* private fields */ }
Expand description
A builder for Insights
.
Implementations§
source§impl InsightsBuilder
impl InsightsBuilder
sourcepub fn active_assessments_count(self, input: i32) -> Self
pub fn active_assessments_count(self, input: i32) -> Self
The number of active assessments in Audit Manager.
sourcepub fn set_active_assessments_count(self, input: Option<i32>) -> Self
pub fn set_active_assessments_count(self, input: Option<i32>) -> Self
The number of active assessments in Audit Manager.
sourcepub fn get_active_assessments_count(&self) -> &Option<i32>
pub fn get_active_assessments_count(&self) -> &Option<i32>
The number of active assessments in Audit Manager.
sourcepub fn noncompliant_evidence_count(self, input: i32) -> Self
pub fn noncompliant_evidence_count(self, input: i32) -> Self
The number of compliance check evidence that Audit Manager classified as non-compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
sourcepub fn set_noncompliant_evidence_count(self, input: Option<i32>) -> Self
pub fn set_noncompliant_evidence_count(self, input: Option<i32>) -> Self
The number of compliance check evidence that Audit Manager classified as non-compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
sourcepub fn get_noncompliant_evidence_count(&self) -> &Option<i32>
pub fn get_noncompliant_evidence_count(&self) -> &Option<i32>
The number of compliance check evidence that Audit Manager classified as non-compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
sourcepub fn compliant_evidence_count(self, input: i32) -> Self
pub fn compliant_evidence_count(self, input: i32) -> Self
The number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
sourcepub fn set_compliant_evidence_count(self, input: Option<i32>) -> Self
pub fn set_compliant_evidence_count(self, input: Option<i32>) -> Self
The number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
sourcepub fn get_compliant_evidence_count(&self) -> &Option<i32>
pub fn get_compliant_evidence_count(&self) -> &Option<i32>
The number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
sourcepub fn inconclusive_evidence_count(self, input: i32) -> Self
pub fn inconclusive_evidence_count(self, input: i32) -> Self
The number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example: manual evidence, API calls, or CloudTrail).
If evidence has a compliance check status of not applicable, it's classed as inconclusive in Insights
data.
sourcepub fn set_inconclusive_evidence_count(self, input: Option<i32>) -> Self
pub fn set_inconclusive_evidence_count(self, input: Option<i32>) -> Self
The number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example: manual evidence, API calls, or CloudTrail).
If evidence has a compliance check status of not applicable, it's classed as inconclusive in Insights
data.
sourcepub fn get_inconclusive_evidence_count(&self) -> &Option<i32>
pub fn get_inconclusive_evidence_count(&self) -> &Option<i32>
The number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example: manual evidence, API calls, or CloudTrail).
If evidence has a compliance check status of not applicable, it's classed as inconclusive in Insights
data.
sourcepub fn assessment_controls_count_by_noncompliant_evidence(
self,
input: i32
) -> Self
pub fn assessment_controls_count_by_noncompliant_evidence( self, input: i32 ) -> Self
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
sourcepub fn set_assessment_controls_count_by_noncompliant_evidence(
self,
input: Option<i32>
) -> Self
pub fn set_assessment_controls_count_by_noncompliant_evidence( self, input: Option<i32> ) -> Self
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
sourcepub fn get_assessment_controls_count_by_noncompliant_evidence(
&self
) -> &Option<i32>
pub fn get_assessment_controls_count_by_noncompliant_evidence( &self ) -> &Option<i32>
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
sourcepub fn total_assessment_controls_count(self, input: i32) -> Self
pub fn total_assessment_controls_count(self, input: i32) -> Self
The total number of controls across all active assessments.
sourcepub fn set_total_assessment_controls_count(self, input: Option<i32>) -> Self
pub fn set_total_assessment_controls_count(self, input: Option<i32>) -> Self
The total number of controls across all active assessments.
sourcepub fn get_total_assessment_controls_count(&self) -> &Option<i32>
pub fn get_total_assessment_controls_count(&self) -> &Option<i32>
The total number of controls across all active assessments.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time when the cross-assessment insights were last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time when the cross-assessment insights were last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The time when the cross-assessment insights were last updated.
Trait Implementations§
source§impl Clone for InsightsBuilder
impl Clone for InsightsBuilder
source§fn clone(&self) -> InsightsBuilder
fn clone(&self) -> InsightsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightsBuilder
impl Debug for InsightsBuilder
source§impl Default for InsightsBuilder
impl Default for InsightsBuilder
source§fn default() -> InsightsBuilder
fn default() -> InsightsBuilder
source§impl PartialEq for InsightsBuilder
impl PartialEq for InsightsBuilder
source§fn eq(&self, other: &InsightsBuilder) -> bool
fn eq(&self, other: &InsightsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InsightsBuilder
Auto Trait Implementations§
impl Freeze for InsightsBuilder
impl RefUnwindSafe for InsightsBuilder
impl Send for InsightsBuilder
impl Sync for InsightsBuilder
impl Unpin for InsightsBuilder
impl UnwindSafe for InsightsBuilder
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