#[non_exhaustive]pub struct ImportFindingsErrorBuilder { /* private fields */ }
Expand description
A builder for ImportFindingsError
.
Implementations§
source§impl ImportFindingsErrorBuilder
impl ImportFindingsErrorBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the finding that could not be updated.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the finding that could not be updated.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The code of the error returned by the BatchImportFindings
operation.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The code of the error returned by the BatchImportFindings
operation.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The message of the error returned by the BatchImportFindings
operation.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The message of the error returned by the BatchImportFindings
operation.
sourcepub fn build(self) -> ImportFindingsError
pub fn build(self) -> ImportFindingsError
Consumes the builder and constructs a ImportFindingsError
.
Trait Implementations§
source§impl Clone for ImportFindingsErrorBuilder
impl Clone for ImportFindingsErrorBuilder
source§fn clone(&self) -> ImportFindingsErrorBuilder
fn clone(&self) -> ImportFindingsErrorBuilder
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 ImportFindingsErrorBuilder
impl Debug for ImportFindingsErrorBuilder
source§impl Default for ImportFindingsErrorBuilder
impl Default for ImportFindingsErrorBuilder
source§fn default() -> ImportFindingsErrorBuilder
fn default() -> ImportFindingsErrorBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ImportFindingsErrorBuilder> for ImportFindingsErrorBuilder
impl PartialEq<ImportFindingsErrorBuilder> for ImportFindingsErrorBuilder
source§fn eq(&self, other: &ImportFindingsErrorBuilder) -> bool
fn eq(&self, other: &ImportFindingsErrorBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.