Struct aws_sdk_amp::input::delete_workspace_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteWorkspaceInput
.
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 ID of the workspace to delete.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace to delete.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<DeleteWorkspaceInput, BuildError>
pub fn build(self) -> Result<DeleteWorkspaceInput, BuildError>
Consumes the builder and constructs a DeleteWorkspaceInput
.