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 get_finding_arns(&self) -> &Option<Vec<String>>
pub fn get_finding_arns(&self) -> &Option<Vec<String>>
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 get_attributes(&self) -> &Option<Vec<Attribute>>
pub fn get_attributes(&self) -> &Option<Vec<Attribute>>
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.
source§impl AddAttributesToFindingsInputBuilder
impl AddAttributesToFindingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddAttributesToFindingsOutput, SdkError<AddAttributesToFindingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddAttributesToFindingsOutput, SdkError<AddAttributesToFindingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddAttributesToFindingsInputBuilder
impl Clone for AddAttributesToFindingsInputBuilder
source§fn clone(&self) -> AddAttributesToFindingsInputBuilder
fn clone(&self) -> AddAttributesToFindingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AddAttributesToFindingsInputBuilder
impl Default for AddAttributesToFindingsInputBuilder
source§fn default() -> AddAttributesToFindingsInputBuilder
fn default() -> AddAttributesToFindingsInputBuilder
source§impl PartialEq for AddAttributesToFindingsInputBuilder
impl PartialEq for AddAttributesToFindingsInputBuilder
source§fn eq(&self, other: &AddAttributesToFindingsInputBuilder) -> bool
fn eq(&self, other: &AddAttributesToFindingsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.