Struct aws_sdk_inspector::operation::add_attributes_to_findings::builders::AddAttributesToFindingsOutputBuilder
source · #[non_exhaustive]pub struct AddAttributesToFindingsOutputBuilder { /* private fields */ }Expand description
A builder for AddAttributesToFindingsOutput.
Implementations§
source§impl AddAttributesToFindingsOutputBuilder
impl AddAttributesToFindingsOutputBuilder
sourcepub fn failed_items(self, k: impl Into<String>, v: FailedItemDetails) -> Self
pub fn failed_items(self, k: impl Into<String>, v: FailedItemDetails) -> Self
Adds a key-value pair to failed_items.
To override the contents of this collection use set_failed_items.
Attribute details that cannot be described. An error code is provided for each failed item.
sourcepub fn set_failed_items(
self,
input: Option<HashMap<String, FailedItemDetails>>
) -> Self
pub fn set_failed_items( self, input: Option<HashMap<String, FailedItemDetails>> ) -> Self
Attribute details that cannot be described. An error code is provided for each failed item.
sourcepub fn get_failed_items(&self) -> &Option<HashMap<String, FailedItemDetails>>
pub fn get_failed_items(&self) -> &Option<HashMap<String, FailedItemDetails>>
Attribute details that cannot be described. An error code is provided for each failed item.
sourcepub fn build(self) -> Result<AddAttributesToFindingsOutput, BuildError>
pub fn build(self) -> Result<AddAttributesToFindingsOutput, BuildError>
Consumes the builder and constructs a AddAttributesToFindingsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AddAttributesToFindingsOutputBuilder
impl Clone for AddAttributesToFindingsOutputBuilder
source§fn clone(&self) -> AddAttributesToFindingsOutputBuilder
fn clone(&self) -> AddAttributesToFindingsOutputBuilder
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 AddAttributesToFindingsOutputBuilder
impl Default for AddAttributesToFindingsOutputBuilder
source§fn default() -> AddAttributesToFindingsOutputBuilder
fn default() -> AddAttributesToFindingsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddAttributesToFindingsOutputBuilder
impl PartialEq for AddAttributesToFindingsOutputBuilder
source§fn eq(&self, other: &AddAttributesToFindingsOutputBuilder) -> bool
fn eq(&self, other: &AddAttributesToFindingsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddAttributesToFindingsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AddAttributesToFindingsOutputBuilder
impl Send for AddAttributesToFindingsOutputBuilder
impl Sync for AddAttributesToFindingsOutputBuilder
impl Unpin for AddAttributesToFindingsOutputBuilder
impl UnwindSafe for AddAttributesToFindingsOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.