#[non_exhaustive]pub struct CreateWorkspaceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateWorkspaceOutput
.
Implementations§
source§impl CreateWorkspaceOutputBuilder
impl CreateWorkspaceOutputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The generated ID of the workspace that was just created. This field is required.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The generated ID of the workspace that was just created.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The generated ID of the workspace that was just created.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the workspace that was just created. This field is required.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN of the workspace that was just created.
sourcepub fn status(self, input: WorkspaceStatus) -> Self
pub fn status(self, input: WorkspaceStatus) -> Self
The status of the workspace that was just created (usually CREATING). This field is required.
sourcepub fn set_status(self, input: Option<WorkspaceStatus>) -> Self
pub fn set_status(self, input: Option<WorkspaceStatus>) -> Self
The status of the workspace that was just created (usually CREATING).
sourcepub fn get_status(&self) -> &Option<WorkspaceStatus>
pub fn get_status(&self) -> &Option<WorkspaceStatus>
The status of the workspace that was just created (usually CREATING).
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of this workspace.
The tags of this workspace.
The tags of this workspace.
sourcepub fn build(self) -> Result<CreateWorkspaceOutput, BuildError>
pub fn build(self) -> Result<CreateWorkspaceOutput, BuildError>
Consumes the builder and constructs a CreateWorkspaceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateWorkspaceOutputBuilder
impl Clone for CreateWorkspaceOutputBuilder
source§fn clone(&self) -> CreateWorkspaceOutputBuilder
fn clone(&self) -> CreateWorkspaceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkspaceOutputBuilder
impl Debug for CreateWorkspaceOutputBuilder
source§impl Default for CreateWorkspaceOutputBuilder
impl Default for CreateWorkspaceOutputBuilder
source§fn default() -> CreateWorkspaceOutputBuilder
fn default() -> CreateWorkspaceOutputBuilder
source§impl PartialEq for CreateWorkspaceOutputBuilder
impl PartialEq for CreateWorkspaceOutputBuilder
source§fn eq(&self, other: &CreateWorkspaceOutputBuilder) -> bool
fn eq(&self, other: &CreateWorkspaceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.