#[non_exhaustive]pub struct VulnerabilityCodeVulnerabilitiesBuilder { /* private fields */ }
Expand description
A builder for VulnerabilityCodeVulnerabilities
.
Implementations§
source§impl VulnerabilityCodeVulnerabilitiesBuilder
impl VulnerabilityCodeVulnerabilitiesBuilder
sourcepub fn cwes(self, input: impl Into<String>) -> Self
pub fn cwes(self, input: impl Into<String>) -> Self
Appends an item to cwes
.
To override the contents of this collection use set_cwes
.
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
sourcepub fn set_cwes(self, input: Option<Vec<String>>) -> Self
pub fn set_cwes(self, input: Option<Vec<String>>) -> Self
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
sourcepub fn get_cwes(&self) -> &Option<Vec<String>>
pub fn get_cwes(&self) -> &Option<Vec<String>>
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
sourcepub fn file_path(self, input: CodeVulnerabilitiesFilePath) -> Self
pub fn file_path(self, input: CodeVulnerabilitiesFilePath) -> Self
Provides details about where a code vulnerability is located in your Lambda function.
sourcepub fn set_file_path(self, input: Option<CodeVulnerabilitiesFilePath>) -> Self
pub fn set_file_path(self, input: Option<CodeVulnerabilitiesFilePath>) -> Self
Provides details about where a code vulnerability is located in your Lambda function.
sourcepub fn get_file_path(&self) -> &Option<CodeVulnerabilitiesFilePath>
pub fn get_file_path(&self) -> &Option<CodeVulnerabilitiesFilePath>
Provides details about where a code vulnerability is located in your Lambda function.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
sourcepub fn build(self) -> VulnerabilityCodeVulnerabilities
pub fn build(self) -> VulnerabilityCodeVulnerabilities
Consumes the builder and constructs a VulnerabilityCodeVulnerabilities
.
Trait Implementations§
source§impl Clone for VulnerabilityCodeVulnerabilitiesBuilder
impl Clone for VulnerabilityCodeVulnerabilitiesBuilder
source§fn clone(&self) -> VulnerabilityCodeVulnerabilitiesBuilder
fn clone(&self) -> VulnerabilityCodeVulnerabilitiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VulnerabilityCodeVulnerabilitiesBuilder
impl Default for VulnerabilityCodeVulnerabilitiesBuilder
source§fn default() -> VulnerabilityCodeVulnerabilitiesBuilder
fn default() -> VulnerabilityCodeVulnerabilitiesBuilder
source§impl PartialEq for VulnerabilityCodeVulnerabilitiesBuilder
impl PartialEq for VulnerabilityCodeVulnerabilitiesBuilder
source§fn eq(&self, other: &VulnerabilityCodeVulnerabilitiesBuilder) -> bool
fn eq(&self, other: &VulnerabilityCodeVulnerabilitiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.