Struct aws_sdk_imagebuilder::types::builders::SeverityCountsBuilder
source · #[non_exhaustive]pub struct SeverityCountsBuilder { /* private fields */ }
Expand description
A builder for SeverityCounts
.
Implementations§
source§impl SeverityCountsBuilder
impl SeverityCountsBuilder
sourcepub fn all(self, input: i64) -> Self
pub fn all(self, input: i64) -> Self
The total number of findings across all severity levels for the specified filter.
sourcepub fn set_all(self, input: Option<i64>) -> Self
pub fn set_all(self, input: Option<i64>) -> Self
The total number of findings across all severity levels for the specified filter.
sourcepub fn get_all(&self) -> &Option<i64>
pub fn get_all(&self) -> &Option<i64>
The total number of findings across all severity levels for the specified filter.
sourcepub fn critical(self, input: i64) -> Self
pub fn critical(self, input: i64) -> Self
The number of critical severity findings for the specified filter.
sourcepub fn set_critical(self, input: Option<i64>) -> Self
pub fn set_critical(self, input: Option<i64>) -> Self
The number of critical severity findings for the specified filter.
sourcepub fn get_critical(&self) -> &Option<i64>
pub fn get_critical(&self) -> &Option<i64>
The number of critical severity findings for the specified filter.
sourcepub fn high(self, input: i64) -> Self
pub fn high(self, input: i64) -> Self
The number of high severity findings for the specified filter.
sourcepub fn set_high(self, input: Option<i64>) -> Self
pub fn set_high(self, input: Option<i64>) -> Self
The number of high severity findings for the specified filter.
sourcepub fn get_high(&self) -> &Option<i64>
pub fn get_high(&self) -> &Option<i64>
The number of high severity findings for the specified filter.
sourcepub fn medium(self, input: i64) -> Self
pub fn medium(self, input: i64) -> Self
The number of medium severity findings for the specified filter.
sourcepub fn set_medium(self, input: Option<i64>) -> Self
pub fn set_medium(self, input: Option<i64>) -> Self
The number of medium severity findings for the specified filter.
sourcepub fn get_medium(&self) -> &Option<i64>
pub fn get_medium(&self) -> &Option<i64>
The number of medium severity findings for the specified filter.
sourcepub fn build(self) -> SeverityCounts
pub fn build(self) -> SeverityCounts
Consumes the builder and constructs a SeverityCounts
.
Trait Implementations§
source§impl Clone for SeverityCountsBuilder
impl Clone for SeverityCountsBuilder
source§fn clone(&self) -> SeverityCountsBuilder
fn clone(&self) -> SeverityCountsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SeverityCountsBuilder
impl Debug for SeverityCountsBuilder
source§impl Default for SeverityCountsBuilder
impl Default for SeverityCountsBuilder
source§fn default() -> SeverityCountsBuilder
fn default() -> SeverityCountsBuilder
source§impl PartialEq for SeverityCountsBuilder
impl PartialEq for SeverityCountsBuilder
source§fn eq(&self, other: &SeverityCountsBuilder) -> bool
fn eq(&self, other: &SeverityCountsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.