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 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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<SeverityCountsBuilder> for SeverityCountsBuilder
impl PartialEq<SeverityCountsBuilder> for SeverityCountsBuilder
source§fn eq(&self, other: &SeverityCountsBuilder) -> bool
fn eq(&self, other: &SeverityCountsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SeverityCountsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SeverityCountsBuilder
impl Send for SeverityCountsBuilder
impl Sync for SeverityCountsBuilder
impl Unpin for SeverityCountsBuilder
impl UnwindSafe for SeverityCountsBuilder
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
Mutably borrows from an owned value. Read more