Struct aws_sdk_iottwinmaker::operation::create_workspace::builders::CreateWorkspaceInputBuilder
source · #[non_exhaustive]pub struct CreateWorkspaceInputBuilder { /* private fields */ }
Expand description
A builder for CreateWorkspaceInput
.
Implementations§
source§impl CreateWorkspaceInputBuilder
impl CreateWorkspaceInputBuilder
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.
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 ID of the workspace.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the workspace.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the workspace.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the workspace.
sourcepub fn s3_location(self, input: impl Into<String>) -> Self
pub fn s3_location(self, input: impl Into<String>) -> Self
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn set_s3_location(self, input: Option<String>) -> Self
pub fn set_s3_location(self, input: Option<String>) -> Self
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn get_s3_location(&self) -> &Option<String>
pub fn get_s3_location(&self) -> &Option<String>
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The ARN of the execution role associated with the workspace.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The ARN of the execution role associated with the workspace.
sourcepub fn get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
The ARN of the execution role associated with the workspace.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Metadata that you can use to manage the workspace
Metadata that you can use to manage the workspace
Metadata that you can use to manage the 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 ==
.