#[non_exhaustive]pub struct ImageScanningConfigurationBuilder { /* private fields */ }
Expand description
A builder for ImageScanningConfiguration
.
Implementations§
source§impl ImageScanningConfigurationBuilder
impl ImageScanningConfigurationBuilder
sourcepub fn image_scanning_enabled(self, input: bool) -> Self
pub fn image_scanning_enabled(self, input: bool) -> Self
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
sourcepub fn set_image_scanning_enabled(self, input: Option<bool>) -> Self
pub fn set_image_scanning_enabled(self, input: Option<bool>) -> Self
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
sourcepub fn ecr_configuration(self, input: EcrConfiguration) -> Self
pub fn ecr_configuration(self, input: EcrConfiguration) -> Self
Contains Amazon ECR settings for vulnerability scans.
sourcepub fn set_ecr_configuration(self, input: Option<EcrConfiguration>) -> Self
pub fn set_ecr_configuration(self, input: Option<EcrConfiguration>) -> Self
Contains Amazon ECR settings for vulnerability scans.
sourcepub fn build(self) -> ImageScanningConfiguration
pub fn build(self) -> ImageScanningConfiguration
Consumes the builder and constructs a ImageScanningConfiguration
.
Trait Implementations§
source§impl Clone for ImageScanningConfigurationBuilder
impl Clone for ImageScanningConfigurationBuilder
source§fn clone(&self) -> ImageScanningConfigurationBuilder
fn clone(&self) -> ImageScanningConfigurationBuilder
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 Default for ImageScanningConfigurationBuilder
impl Default for ImageScanningConfigurationBuilder
source§fn default() -> ImageScanningConfigurationBuilder
fn default() -> ImageScanningConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ImageScanningConfigurationBuilder> for ImageScanningConfigurationBuilder
impl PartialEq<ImageScanningConfigurationBuilder> for ImageScanningConfigurationBuilder
source§fn eq(&self, other: &ImageScanningConfigurationBuilder) -> bool
fn eq(&self, other: &ImageScanningConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageScanningConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ImageScanningConfigurationBuilder
impl Send for ImageScanningConfigurationBuilder
impl Sync for ImageScanningConfigurationBuilder
impl Unpin for ImageScanningConfigurationBuilder
impl UnwindSafe for ImageScanningConfigurationBuilder
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