Struct aws_sdk_ecr::model::vulnerable_package::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for VulnerablePackage.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arch(self, input: impl Into<String>) -> Self
pub fn arch(self, input: impl Into<String>) -> Self
The architecture of the vulnerable package.
sourcepub fn set_arch(self, input: Option<String>) -> Self
pub fn set_arch(self, input: Option<String>) -> Self
The architecture of the vulnerable package.
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The file path of the vulnerable package.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The file path of the vulnerable package.
sourcepub fn package_manager(self, input: impl Into<String>) -> Self
pub fn package_manager(self, input: impl Into<String>) -> Self
The package manager of the vulnerable package.
sourcepub fn set_package_manager(self, input: Option<String>) -> Self
pub fn set_package_manager(self, input: Option<String>) -> Self
The package manager of the vulnerable package.
sourcepub fn set_release(self, input: Option<String>) -> Self
pub fn set_release(self, input: Option<String>) -> Self
The release of the vulnerable package.
sourcepub fn source_layer_hash(self, input: impl Into<String>) -> Self
pub fn source_layer_hash(self, input: impl Into<String>) -> Self
The source layer hash of the vulnerable package.
sourcepub fn set_source_layer_hash(self, input: Option<String>) -> Self
pub fn set_source_layer_hash(self, input: Option<String>) -> Self
The source layer hash of the vulnerable package.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of the vulnerable package.
sourcepub fn build(self) -> VulnerablePackage
pub fn build(self) -> VulnerablePackage
Consumes the builder and constructs a VulnerablePackage.