Struct aws_sdk_amp::input::create_workspace_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateWorkspaceInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn alias(self, input: impl Into<String>) -> Self
pub fn alias(self, input: impl Into<String>) -> Self
An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
sourcepub fn set_alias(self, input: Option<String>) -> Self
pub fn set_alias(self, input: Option<String>) -> Self
An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Optional, user-provided tags for this workspace.
Optional, user-provided tags for this workspace.
sourcepub fn build(self) -> Result<CreateWorkspaceInput, BuildError>
pub fn build(self) -> Result<CreateWorkspaceInput, BuildError>
Consumes the builder and constructs a CreateWorkspaceInput.