#[non_exhaustive]pub struct CreateWorkspaceInputBuilder { /* private fields */ }
Expand description
A builder for CreateWorkspaceInput
.
Implementations§
source§impl CreateWorkspaceInputBuilder
impl CreateWorkspaceInputBuilder
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 get_alias(&self) -> &Option<String>
pub fn get_alias(&self) -> &Option<String>
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.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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.
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
.
source§impl CreateWorkspaceInputBuilder
impl CreateWorkspaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateWorkspaceOutput, SdkError<CreateWorkspaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateWorkspaceOutput, SdkError<CreateWorkspaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWorkspaceInputBuilder
impl Clone for CreateWorkspaceInputBuilder
source§fn clone(&self) -> CreateWorkspaceInputBuilder
fn clone(&self) -> CreateWorkspaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkspaceInputBuilder
impl Debug for CreateWorkspaceInputBuilder
source§impl Default for CreateWorkspaceInputBuilder
impl Default for CreateWorkspaceInputBuilder
source§fn default() -> CreateWorkspaceInputBuilder
fn default() -> CreateWorkspaceInputBuilder
source§impl PartialEq for CreateWorkspaceInputBuilder
impl PartialEq for CreateWorkspaceInputBuilder
source§fn eq(&self, other: &CreateWorkspaceInputBuilder) -> bool
fn eq(&self, other: &CreateWorkspaceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.