#[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 ==
.impl StructuralPartialEq for VulnerabilityCodeVulnerabilitiesBuilder
Auto Trait Implementations§
impl Freeze for VulnerabilityCodeVulnerabilitiesBuilder
impl RefUnwindSafe for VulnerabilityCodeVulnerabilitiesBuilder
impl Send for VulnerabilityCodeVulnerabilitiesBuilder
impl Sync for VulnerabilityCodeVulnerabilitiesBuilder
impl Unpin for VulnerabilityCodeVulnerabilitiesBuilder
impl UnwindSafe for VulnerabilityCodeVulnerabilitiesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more