Struct aws_sdk_ecr::model::vulnerable_package::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for VulnerablePackage
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more