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 ==
.impl StructuralPartialEq for SeverityCountsBuilder
Auto Trait Implementations§
impl Freeze for SeverityCountsBuilder
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
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