Struct aws_sdk_ec2::model::ValidationError
source · #[non_exhaustive]pub struct ValidationError { /* private fields */ }
Expand description
The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.
Implementations§
source§impl ValidationError
impl ValidationError
sourcepub fn code(&self) -> Option<&str>
pub fn code(&self) -> Option<&str>
The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.
source§impl ValidationError
impl ValidationError
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ValidationError
.
Trait Implementations§
source§impl Clone for ValidationError
impl Clone for ValidationError
source§fn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
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 ValidationError
impl Debug for ValidationError
source§impl PartialEq<ValidationError> for ValidationError
impl PartialEq<ValidationError> for ValidationError
source§fn eq(&self, other: &ValidationError) -> bool
fn eq(&self, other: &ValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.