Struct aws_sdk_ecr::model::image_scanning_configuration::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ImageScanningConfiguration.
Implementations§
source§impl Builder
impl Builder
sourcepub fn scan_on_push(self, input: bool) -> Self
pub fn scan_on_push(self, input: bool) -> Self
The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the API_StartImageScan API.
sourcepub fn set_scan_on_push(self, input: Option<bool>) -> Self
pub fn set_scan_on_push(self, input: Option<bool>) -> Self
The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the API_StartImageScan API.
sourcepub fn build(self) -> ImageScanningConfiguration
pub fn build(self) -> ImageScanningConfiguration
Consumes the builder and constructs a ImageScanningConfiguration.