#[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 get_image_scanning_enabled(&self) -> &Option<bool>
pub fn get_image_scanning_enabled(&self) -> &Option<bool>
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 get_ecr_configuration(&self) -> &Option<EcrConfiguration>
pub fn get_ecr_configuration(&self) -> &Option<EcrConfiguration>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ImageScanningConfigurationBuilder
impl Default for ImageScanningConfigurationBuilder
source§fn default() -> ImageScanningConfigurationBuilder
fn default() -> ImageScanningConfigurationBuilder
source§impl PartialEq for ImageScanningConfigurationBuilder
impl PartialEq for ImageScanningConfigurationBuilder
source§fn eq(&self, other: &ImageScanningConfigurationBuilder) -> bool
fn eq(&self, other: &ImageScanningConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ImageScanningConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ImageScanningConfigurationBuilder
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
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