Struct aws_sdk_iottwinmaker::operation::create_workspace::builders::CreateWorkspaceFluentBuilder
source · pub struct CreateWorkspaceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateWorkspace.
Creates a workplace.
Implementations§
source§impl CreateWorkspaceFluentBuilder
impl CreateWorkspaceFluentBuilder
sourcepub fn as_input(&self) -> &CreateWorkspaceInputBuilder
pub fn as_input(&self) -> &CreateWorkspaceInputBuilder
Access the CreateWorkspace as a reference.
sourcepub async fn send(
self,
) -> Result<CreateWorkspaceOutput, SdkError<CreateWorkspaceError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateWorkspaceOutput, SdkError<CreateWorkspaceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateWorkspaceOutput, CreateWorkspaceError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateWorkspaceOutput, CreateWorkspaceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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
Trait Implementations§
source§impl Clone for CreateWorkspaceFluentBuilder
impl Clone for CreateWorkspaceFluentBuilder
source§fn clone(&self) -> CreateWorkspaceFluentBuilder
fn clone(&self) -> CreateWorkspaceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CreateWorkspaceFluentBuilder
impl !RefUnwindSafe for CreateWorkspaceFluentBuilder
impl Send for CreateWorkspaceFluentBuilder
impl Sync for CreateWorkspaceFluentBuilder
impl Unpin for CreateWorkspaceFluentBuilder
impl !UnwindSafe for CreateWorkspaceFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more