Struct aws_sdk_ecr::types::builders::ImageScanFindingBuilder
source · #[non_exhaustive]pub struct ImageScanFindingBuilder { /* private fields */ }Expand description
A builder for ImageScanFinding.
Implementations§
source§impl ImageScanFindingBuilder
impl ImageScanFindingBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name associated with the finding, usually a CVE number.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name associated with the finding, usually a CVE number.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name associated with the finding, usually a CVE number.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the finding.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the finding.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the finding.
sourcepub fn uri(self, input: impl Into<String>) -> Self
pub fn uri(self, input: impl Into<String>) -> Self
A link containing additional details about the security vulnerability.
sourcepub fn set_uri(self, input: Option<String>) -> Self
pub fn set_uri(self, input: Option<String>) -> Self
A link containing additional details about the security vulnerability.
sourcepub fn get_uri(&self) -> &Option<String>
pub fn get_uri(&self) -> &Option<String>
A link containing additional details about the security vulnerability.
sourcepub fn severity(self, input: FindingSeverity) -> Self
pub fn severity(self, input: FindingSeverity) -> Self
The finding severity.
sourcepub fn set_severity(self, input: Option<FindingSeverity>) -> Self
pub fn set_severity(self, input: Option<FindingSeverity>) -> Self
The finding severity.
sourcepub fn get_severity(&self) -> &Option<FindingSeverity>
pub fn get_severity(&self) -> &Option<FindingSeverity>
The finding severity.
sourcepub fn attributes(self, input: Attribute) -> Self
pub fn attributes(self, input: Attribute) -> Self
Appends an item to attributes.
To override the contents of this collection use set_attributes.
A collection of attributes of the host from which the finding is generated.
sourcepub fn set_attributes(self, input: Option<Vec<Attribute>>) -> Self
pub fn set_attributes(self, input: Option<Vec<Attribute>>) -> Self
A collection of attributes of the host from which the finding is generated.
sourcepub fn get_attributes(&self) -> &Option<Vec<Attribute>>
pub fn get_attributes(&self) -> &Option<Vec<Attribute>>
A collection of attributes of the host from which the finding is generated.
sourcepub fn build(self) -> ImageScanFinding
pub fn build(self) -> ImageScanFinding
Consumes the builder and constructs a ImageScanFinding.
Trait Implementations§
source§impl Clone for ImageScanFindingBuilder
impl Clone for ImageScanFindingBuilder
source§fn clone(&self) -> ImageScanFindingBuilder
fn clone(&self) -> ImageScanFindingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImageScanFindingBuilder
impl Debug for ImageScanFindingBuilder
source§impl Default for ImageScanFindingBuilder
impl Default for ImageScanFindingBuilder
source§fn default() -> ImageScanFindingBuilder
fn default() -> ImageScanFindingBuilder
source§impl PartialEq for ImageScanFindingBuilder
impl PartialEq for ImageScanFindingBuilder
impl StructuralPartialEq for ImageScanFindingBuilder
Auto Trait Implementations§
impl Freeze for ImageScanFindingBuilder
impl RefUnwindSafe for ImageScanFindingBuilder
impl Send for ImageScanFindingBuilder
impl Sync for ImageScanFindingBuilder
impl Unpin for ImageScanFindingBuilder
impl UnwindSafe for ImageScanFindingBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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