Struct aws_sdk_ses::error::cannot_delete_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CannotDeleteException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Indicates that a resource could not be deleted because no resource with the specified name exists.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Indicates that a resource could not be deleted because no resource with the specified name exists.
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn build(self) -> CannotDeleteException
pub fn build(self) -> CannotDeleteException
Consumes the builder and constructs a CannotDeleteException
.