#[non_exhaustive]pub struct AccountFindingsMetricBuilder { /* private fields */ }
Expand description
A builder for AccountFindingsMetric
.
Implementations§
source§impl AccountFindingsMetricBuilder
impl AccountFindingsMetricBuilder
sourcepub fn date(self, input: DateTime) -> Self
pub fn date(self, input: DateTime) -> Self
The date from which the finding metrics were retrieved.
sourcepub fn set_date(self, input: Option<DateTime>) -> Self
pub fn set_date(self, input: Option<DateTime>) -> Self
The date from which the finding metrics were retrieved.
sourcepub fn get_date(&self) -> &Option<DateTime>
pub fn get_date(&self) -> &Option<DateTime>
The date from which the finding metrics were retrieved.
sourcepub fn new_findings(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn new_findings(self, input: FindingMetricsValuePerSeverity) -> Self
The number of new findings of each severity in account on the specified date.
sourcepub fn set_new_findings(
self,
input: Option<FindingMetricsValuePerSeverity>
) -> Self
pub fn set_new_findings( self, input: Option<FindingMetricsValuePerSeverity> ) -> Self
The number of new findings of each severity in account on the specified date.
sourcepub fn get_new_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_new_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
The number of new findings of each severity in account on the specified date.
sourcepub fn closed_findings(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn closed_findings(self, input: FindingMetricsValuePerSeverity) -> Self
The number of closed findings of each severity in an account on the specified date.
sourcepub fn set_closed_findings(
self,
input: Option<FindingMetricsValuePerSeverity>
) -> Self
pub fn set_closed_findings( self, input: Option<FindingMetricsValuePerSeverity> ) -> Self
The number of closed findings of each severity in an account on the specified date.
sourcepub fn get_closed_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_closed_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
The number of closed findings of each severity in an account on the specified date.
sourcepub fn open_findings(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn open_findings(self, input: FindingMetricsValuePerSeverity) -> Self
The number of open findings of each severity in an account as of the specified date.
sourcepub fn set_open_findings(
self,
input: Option<FindingMetricsValuePerSeverity>
) -> Self
pub fn set_open_findings( self, input: Option<FindingMetricsValuePerSeverity> ) -> Self
The number of open findings of each severity in an account as of the specified date.
sourcepub fn get_open_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_open_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
The number of open findings of each severity in an account as of the specified date.
sourcepub fn mean_time_to_close(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn mean_time_to_close(self, input: FindingMetricsValuePerSeverity) -> Self
The average time it takes to close findings of each severity in days.
sourcepub fn set_mean_time_to_close(
self,
input: Option<FindingMetricsValuePerSeverity>
) -> Self
pub fn set_mean_time_to_close( self, input: Option<FindingMetricsValuePerSeverity> ) -> Self
The average time it takes to close findings of each severity in days.
sourcepub fn get_mean_time_to_close(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_mean_time_to_close(&self) -> &Option<FindingMetricsValuePerSeverity>
The average time it takes to close findings of each severity in days.
sourcepub fn build(self) -> AccountFindingsMetric
pub fn build(self) -> AccountFindingsMetric
Consumes the builder and constructs a AccountFindingsMetric
.
Trait Implementations§
source§impl Clone for AccountFindingsMetricBuilder
impl Clone for AccountFindingsMetricBuilder
source§fn clone(&self) -> AccountFindingsMetricBuilder
fn clone(&self) -> AccountFindingsMetricBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountFindingsMetricBuilder
impl Debug for AccountFindingsMetricBuilder
source§impl Default for AccountFindingsMetricBuilder
impl Default for AccountFindingsMetricBuilder
source§fn default() -> AccountFindingsMetricBuilder
fn default() -> AccountFindingsMetricBuilder
source§impl PartialEq for AccountFindingsMetricBuilder
impl PartialEq for AccountFindingsMetricBuilder
source§fn eq(&self, other: &AccountFindingsMetricBuilder) -> bool
fn eq(&self, other: &AccountFindingsMetricBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.