pub struct Builder { /* private fields */ }
Expand description
A builder for InvalidResourceStateException
.
Implementations§
source§impl Builder
impl Builder
pub fn code(self, input: impl Into<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn set_context(self, input: Option<String>) -> Self
pub fn set_context(self, input: Option<String>) -> Self
sourcepub fn build(self) -> InvalidResourceStateException
pub fn build(self) -> InvalidResourceStateException
Consumes the builder and constructs a InvalidResourceStateException
.