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
source§fn eq(&self, other: &ImageScanFindingBuilder) -> bool
fn eq(&self, other: &ImageScanFindingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.