Struct aws_sdk_ec2::types::builders::ValidationWarningBuilder   
source · #[non_exhaustive]pub struct ValidationWarningBuilder { /* private fields */ }Expand description
A builder for ValidationWarning.
Implementations§
source§impl ValidationWarningBuilder
 
impl ValidationWarningBuilder
sourcepub fn errors(self, input: ValidationError) -> Self
 
pub fn errors(self, input: ValidationError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
The error codes and error messages.
sourcepub fn set_errors(self, input: Option<Vec<ValidationError>>) -> Self
 
pub fn set_errors(self, input: Option<Vec<ValidationError>>) -> Self
The error codes and error messages.
sourcepub fn get_errors(&self) -> &Option<Vec<ValidationError>>
 
pub fn get_errors(&self) -> &Option<Vec<ValidationError>>
The error codes and error messages.
sourcepub fn build(self) -> ValidationWarning
 
pub fn build(self) -> ValidationWarning
Consumes the builder and constructs a ValidationWarning.
Trait Implementations§
source§impl Clone for ValidationWarningBuilder
 
impl Clone for ValidationWarningBuilder
source§fn clone(&self) -> ValidationWarningBuilder
 
fn clone(&self) -> ValidationWarningBuilder
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 Debug for ValidationWarningBuilder
 
impl Debug for ValidationWarningBuilder
source§impl Default for ValidationWarningBuilder
 
impl Default for ValidationWarningBuilder
source§fn default() -> ValidationWarningBuilder
 
fn default() -> ValidationWarningBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidationWarningBuilder
 
impl PartialEq for ValidationWarningBuilder
source§fn eq(&self, other: &ValidationWarningBuilder) -> bool
 
fn eq(&self, other: &ValidationWarningBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidationWarningBuilder
Auto Trait Implementations§
impl Freeze for ValidationWarningBuilder
impl RefUnwindSafe for ValidationWarningBuilder
impl Send for ValidationWarningBuilder
impl Sync for ValidationWarningBuilder
impl Unpin for ValidationWarningBuilder
impl UnwindSafe for ValidationWarningBuilder
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.