Struct aws_sdk_ecr::input::start_image_scan_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StartImageScanInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository that contains the images to scan.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository that contains the images to scan.
sourcepub fn image_id(self, input: ImageIdentifier) -> Self
pub fn image_id(self, input: ImageIdentifier) -> Self
An object with identifying information for an image in an Amazon ECR repository.
sourcepub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
pub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
An object with identifying information for an image in an Amazon ECR repository.
sourcepub fn build(self) -> Result<StartImageScanInput, BuildError>
pub fn build(self) -> Result<StartImageScanInput, BuildError>
Consumes the builder and constructs a StartImageScanInput
.