Struct aws_sdk_securityhub::model::software_package::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SoftwarePackage
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of the software package.
sourcepub fn set_release(self, input: Option<String>) -> Self
pub fn set_release(self, input: Option<String>) -> Self
The release of the software package.
sourcepub fn architecture(self, input: impl Into<String>) -> Self
pub fn architecture(self, input: impl Into<String>) -> Self
The architecture used for the software package.
sourcepub fn set_architecture(self, input: Option<String>) -> Self
pub fn set_architecture(self, input: Option<String>) -> Self
The architecture used for the software package.
sourcepub fn package_manager(self, input: impl Into<String>) -> Self
pub fn package_manager(self, input: impl Into<String>) -> Self
The source of the package.
sourcepub fn set_package_manager(self, input: Option<String>) -> Self
pub fn set_package_manager(self, input: Option<String>) -> Self
The source of the package.
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The file system path to the package manager inventory file.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The file system path to the package manager inventory file.
sourcepub fn fixed_in_version(self, input: impl Into<String>) -> Self
pub fn fixed_in_version(self, input: impl Into<String>) -> Self
The version of the software package in which the vulnerability has been resolved.
sourcepub fn set_fixed_in_version(self, input: Option<String>) -> Self
pub fn set_fixed_in_version(self, input: Option<String>) -> Self
The version of the software package in which the vulnerability has been resolved.
sourcepub fn remediation(self, input: impl Into<String>) -> Self
pub fn remediation(self, input: impl Into<String>) -> Self
Describes the actions a customer can take to resolve the vulnerability in the software package.
sourcepub fn set_remediation(self, input: Option<String>) -> Self
pub fn set_remediation(self, input: Option<String>) -> Self
Describes the actions a customer can take to resolve the vulnerability in the software 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 source_layer_arn(self, input: impl Into<String>) -> Self
pub fn source_layer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the source layer.
sourcepub fn set_source_layer_arn(self, input: Option<String>) -> Self
pub fn set_source_layer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the source layer.
sourcepub fn build(self) -> SoftwarePackage
pub fn build(self) -> SoftwarePackage
Consumes the builder and constructs a SoftwarePackage
.