Struct aws_sdk_rbin::error::resource_not_found_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceNotFoundException
.
Implementations§
source§impl Builder
impl Builder
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn reason(self, input: ResourceNotFoundExceptionReason) -> Self
pub fn reason(self, input: ResourceNotFoundExceptionReason) -> Self
The reason for the exception.
sourcepub fn set_reason(self, input: Option<ResourceNotFoundExceptionReason>) -> Self
pub fn set_reason(self, input: Option<ResourceNotFoundExceptionReason>) -> Self
The reason for the exception.
sourcepub fn build(self) -> ResourceNotFoundException
pub fn build(self) -> ResourceNotFoundException
Consumes the builder and constructs a ResourceNotFoundException
.