Struct aws_sdk_ecr::model::image_scan_status::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ImageScanStatus.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: ScanStatus) -> Self
pub fn status(self, input: ScanStatus) -> Self
The current state of an image scan.
sourcepub fn set_status(self, input: Option<ScanStatus>) -> Self
pub fn set_status(self, input: Option<ScanStatus>) -> Self
The current state of an image scan.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the image scan status.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the image scan status.
sourcepub fn build(self) -> ImageScanStatus
pub fn build(self) -> ImageScanStatus
Consumes the builder and constructs a ImageScanStatus.