#[non_exhaustive]pub struct InsightsByAssessmentBuilder { /* private fields */ }
Expand description
A builder for InsightsByAssessment
.
Implementations§
source§impl InsightsByAssessmentBuilder
impl InsightsByAssessmentBuilder
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. 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. 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. 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. 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. 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. 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 amount of evidence without a compliance check ruling. Evidence is inconclusive if the associated control uses Security Hub or Config as a data source and you didn't enable those services. This is also the case if 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 classified as inconclusive in InsightsByAssessment
data.
sourcepub fn set_inconclusive_evidence_count(self, input: Option<i32>) -> Self
pub fn set_inconclusive_evidence_count(self, input: Option<i32>) -> Self
The amount of evidence without a compliance check ruling. Evidence is inconclusive if the associated control uses Security Hub or Config as a data source and you didn't enable those services. This is also the case if 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 classified as inconclusive in InsightsByAssessment
data.
sourcepub fn get_inconclusive_evidence_count(&self) -> &Option<i32>
pub fn get_inconclusive_evidence_count(&self) -> &Option<i32>
The amount of evidence without a compliance check ruling. Evidence is inconclusive if the associated control uses Security Hub or Config as a data source and you didn't enable those services. This is also the case if 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 classified as inconclusive in InsightsByAssessment
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 in the assessment.
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 in the assessment.
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 in the assessment.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time when the 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 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 assessment insights were last updated.
sourcepub fn build(self) -> InsightsByAssessment
pub fn build(self) -> InsightsByAssessment
Consumes the builder and constructs a InsightsByAssessment
.
Trait Implementations§
source§impl Clone for InsightsByAssessmentBuilder
impl Clone for InsightsByAssessmentBuilder
source§fn clone(&self) -> InsightsByAssessmentBuilder
fn clone(&self) -> InsightsByAssessmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightsByAssessmentBuilder
impl Debug for InsightsByAssessmentBuilder
source§impl Default for InsightsByAssessmentBuilder
impl Default for InsightsByAssessmentBuilder
source§fn default() -> InsightsByAssessmentBuilder
fn default() -> InsightsByAssessmentBuilder
source§impl PartialEq for InsightsByAssessmentBuilder
impl PartialEq for InsightsByAssessmentBuilder
source§fn eq(&self, other: &InsightsByAssessmentBuilder) -> bool
fn eq(&self, other: &InsightsByAssessmentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InsightsByAssessmentBuilder
Auto Trait Implementations§
impl Freeze for InsightsByAssessmentBuilder
impl RefUnwindSafe for InsightsByAssessmentBuilder
impl Send for InsightsByAssessmentBuilder
impl Sync for InsightsByAssessmentBuilder
impl Unpin for InsightsByAssessmentBuilder
impl UnwindSafe for InsightsByAssessmentBuilder
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