Struct aws_sdk_ec2::model::validation_warning::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ValidationWarning
.
Implementations§
source§impl Builder
impl Builder
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 build(self) -> ValidationWarning
pub fn build(self) -> ValidationWarning
Consumes the builder and constructs a ValidationWarning
.