pub struct Builder { /* private fields */ }
Expand description
A builder for FailedWorkspaceChangeRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The identifier of the WorkSpace.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The identifier of the WorkSpace.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code that is returned if the WorkSpace cannot be rebooted.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code that is returned if the WorkSpace cannot be rebooted.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The text of the error message that is returned if the WorkSpace cannot be rebooted.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The text of the error message that is returned if the WorkSpace cannot be rebooted.
sourcepub fn build(self) -> FailedWorkspaceChangeRequest
pub fn build(self) -> FailedWorkspaceChangeRequest
Consumes the builder and constructs a FailedWorkspaceChangeRequest
.