#[non_exhaustive]pub struct ImageScanFindingBuilder { /* private fields */ }
Expand description
A builder for ImageScanFinding
.
Implementations§
source§impl ImageScanFindingBuilder
impl ImageScanFindingBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that's associated with the finding.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that's associated with the finding.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The Amazon Web Services account ID that's associated with the finding.
sourcepub fn image_build_version_arn(self, input: impl Into<String>) -> Self
pub fn image_build_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
sourcepub fn set_image_build_version_arn(self, input: Option<String>) -> Self
pub fn set_image_build_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
sourcepub fn get_image_build_version_arn(&self) -> &Option<String>
pub fn get_image_build_version_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
sourcepub fn image_pipeline_arn(self, input: impl Into<String>) -> Self
pub fn image_pipeline_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
sourcepub fn set_image_pipeline_arn(self, input: Option<String>) -> Self
pub fn set_image_pipeline_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
sourcepub fn get_image_pipeline_arn(&self) -> &Option<String>
pub fn get_image_pipeline_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.
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 remediation(self, input: Remediation) -> Self
pub fn remediation(self, input: Remediation) -> Self
An object that contains the details about how to remediate the finding.
sourcepub fn set_remediation(self, input: Option<Remediation>) -> Self
pub fn set_remediation(self, input: Option<Remediation>) -> Self
An object that contains the details about how to remediate the finding.
sourcepub fn get_remediation(&self) -> &Option<Remediation>
pub fn get_remediation(&self) -> &Option<Remediation>
An object that contains the details about how to remediate the finding.
sourcepub fn set_severity(self, input: Option<String>) -> Self
pub fn set_severity(self, input: Option<String>) -> Self
The severity of the finding.
sourcepub fn get_severity(&self) -> &Option<String>
pub fn get_severity(&self) -> &Option<String>
The severity of the finding.
sourcepub fn first_observed_at(self, input: DateTime) -> Self
pub fn first_observed_at(self, input: DateTime) -> Self
The date and time when the finding was first observed.
sourcepub fn set_first_observed_at(self, input: Option<DateTime>) -> Self
pub fn set_first_observed_at(self, input: Option<DateTime>) -> Self
The date and time when the finding was first observed.
sourcepub fn get_first_observed_at(&self) -> &Option<DateTime>
pub fn get_first_observed_at(&self) -> &Option<DateTime>
The date and time when the finding was first observed.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp when the finding was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp when the finding was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp when the finding was last updated.
sourcepub fn inspector_score(self, input: f64) -> Self
pub fn inspector_score(self, input: f64) -> Self
The score that Amazon Inspector assigned for the finding.
sourcepub fn set_inspector_score(self, input: Option<f64>) -> Self
pub fn set_inspector_score(self, input: Option<f64>) -> Self
The score that Amazon Inspector assigned for the finding.
sourcepub fn get_inspector_score(&self) -> &Option<f64>
pub fn get_inspector_score(&self) -> &Option<f64>
The score that Amazon Inspector assigned for the finding.
sourcepub fn inspector_score_details(self, input: InspectorScoreDetails) -> Self
pub fn inspector_score_details(self, input: InspectorScoreDetails) -> Self
An object that contains details of the Amazon Inspector score.
sourcepub fn set_inspector_score_details(
self,
input: Option<InspectorScoreDetails>
) -> Self
pub fn set_inspector_score_details( self, input: Option<InspectorScoreDetails> ) -> Self
An object that contains details of the Amazon Inspector score.
sourcepub fn get_inspector_score_details(&self) -> &Option<InspectorScoreDetails>
pub fn get_inspector_score_details(&self) -> &Option<InspectorScoreDetails>
An object that contains details of the Amazon Inspector score.
sourcepub fn package_vulnerability_details(
self,
input: PackageVulnerabilityDetails
) -> Self
pub fn package_vulnerability_details( self, input: PackageVulnerabilityDetails ) -> Self
An object that contains the details of a package vulnerability finding.
sourcepub fn set_package_vulnerability_details(
self,
input: Option<PackageVulnerabilityDetails>
) -> Self
pub fn set_package_vulnerability_details( self, input: Option<PackageVulnerabilityDetails> ) -> Self
An object that contains the details of a package vulnerability finding.
sourcepub fn get_package_vulnerability_details(
&self
) -> &Option<PackageVulnerabilityDetails>
pub fn get_package_vulnerability_details( &self ) -> &Option<PackageVulnerabilityDetails>
An object that contains the details of a package vulnerability finding.
sourcepub fn fix_available(self, input: impl Into<String>) -> Self
pub fn fix_available(self, input: impl Into<String>) -> Self
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
sourcepub fn set_fix_available(self, input: Option<String>) -> Self
pub fn set_fix_available(self, input: Option<String>) -> Self
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
sourcepub fn get_fix_available(&self) -> &Option<String>
pub fn get_fix_available(&self) -> &Option<String>
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
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 ==
.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> 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