Struct aws_sdk_macie::error::invalid_input_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InvalidInputException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
Error code for the exception
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
Error code for the exception
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn field_name(self, input: impl Into<String>) -> Self
pub fn field_name(self, input: impl Into<String>) -> Self
Field that has invalid input
sourcepub fn set_field_name(self, input: Option<String>) -> Self
pub fn set_field_name(self, input: Option<String>) -> Self
Field that has invalid input
sourcepub fn build(self) -> InvalidInputException
pub fn build(self) -> InvalidInputException
Consumes the builder and constructs a InvalidInputException
.