Struct aws_sdk_inspector::operation::add_attributes_to_findings::builders::AddAttributesToFindingsInputBuilder
source · #[non_exhaustive]pub struct AddAttributesToFindingsInputBuilder { /* private fields */ }Expand description
A builder for AddAttributesToFindingsInput.
Implementations§
source§impl AddAttributesToFindingsInputBuilder
impl AddAttributesToFindingsInputBuilder
sourcepub fn finding_arns(self, input: impl Into<String>) -> Self
pub fn finding_arns(self, input: impl Into<String>) -> Self
Appends an item to finding_arns.
To override the contents of this collection use set_finding_arns.
The ARNs that specify the findings that you want to assign attributes to.
sourcepub fn set_finding_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_finding_arns(self, input: Option<Vec<String>>) -> Self
The ARNs that specify the findings that you want to assign attributes to.
sourcepub fn attributes(self, input: Attribute) -> Self
pub fn attributes(self, input: Attribute) -> Self
Appends an item to attributes.
To override the contents of this collection use set_attributes.
The array of attributes that you want to assign to specified findings.
sourcepub fn set_attributes(self, input: Option<Vec<Attribute>>) -> Self
pub fn set_attributes(self, input: Option<Vec<Attribute>>) -> Self
The array of attributes that you want to assign to specified findings.
sourcepub fn build(self) -> Result<AddAttributesToFindingsInput, BuildError>
pub fn build(self) -> Result<AddAttributesToFindingsInput, BuildError>
Consumes the builder and constructs a AddAttributesToFindingsInput.
Trait Implementations§
source§impl Clone for AddAttributesToFindingsInputBuilder
impl Clone for AddAttributesToFindingsInputBuilder
source§fn clone(&self) -> AddAttributesToFindingsInputBuilder
fn clone(&self) -> AddAttributesToFindingsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AddAttributesToFindingsInputBuilder
impl Default for AddAttributesToFindingsInputBuilder
source§fn default() -> AddAttributesToFindingsInputBuilder
fn default() -> AddAttributesToFindingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AddAttributesToFindingsInputBuilder> for AddAttributesToFindingsInputBuilder
impl PartialEq<AddAttributesToFindingsInputBuilder> for AddAttributesToFindingsInputBuilder
source§fn eq(&self, other: &AddAttributesToFindingsInputBuilder) -> bool
fn eq(&self, other: &AddAttributesToFindingsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.