Struct aws_sdk_securityhub::model::import_findings_error::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImportFindingsError
.
Implementations§
source§impl Builder
impl Builder
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
.