#[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 unique ID for the new workspace.
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 unique ID for the new workspace.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The unique ID for the new workspace.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN for the new workspace.
This field is required.sourcepub fn status(self, input: WorkspaceStatus) -> Self
pub fn status(self, input: WorkspaceStatus) -> Self
The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING
.
sourcepub fn set_status(self, input: Option<WorkspaceStatus>) -> Self
pub fn set_status(self, input: Option<WorkspaceStatus>) -> Self
The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING
.
sourcepub fn get_status(&self) -> &Option<WorkspaceStatus>
pub fn get_status(&self) -> &Option<WorkspaceStatus>
The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING
.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The list of tag keys and values that are associated with the workspace.
The list of tag keys and values that are associated with the workspace.
The list of tag keys and values that are associated with the workspace.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
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 ==
.