Struct aws_sdk_iottwinmaker::operation::update_workspace::builders::UpdateWorkspaceInputBuilder
source · #[non_exhaustive]pub struct UpdateWorkspaceInputBuilder { /* private fields */ }Expand description
A builder for UpdateWorkspaceInput.
Implementations§
source§impl UpdateWorkspaceInputBuilder
impl UpdateWorkspaceInputBuilder
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 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.
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 build(self) -> Result<UpdateWorkspaceInput, BuildError>
pub fn build(self) -> Result<UpdateWorkspaceInput, BuildError>
Consumes the builder and constructs a UpdateWorkspaceInput.
source§impl UpdateWorkspaceInputBuilder
impl UpdateWorkspaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateWorkspaceOutput, SdkError<UpdateWorkspaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateWorkspaceOutput, SdkError<UpdateWorkspaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateWorkspaceInputBuilder
impl Clone for UpdateWorkspaceInputBuilder
source§fn clone(&self) -> UpdateWorkspaceInputBuilder
fn clone(&self) -> UpdateWorkspaceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UpdateWorkspaceInputBuilder
impl Debug for UpdateWorkspaceInputBuilder
source§impl Default for UpdateWorkspaceInputBuilder
impl Default for UpdateWorkspaceInputBuilder
source§fn default() -> UpdateWorkspaceInputBuilder
fn default() -> UpdateWorkspaceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateWorkspaceInputBuilder
impl PartialEq for UpdateWorkspaceInputBuilder
source§fn eq(&self, other: &UpdateWorkspaceInputBuilder) -> bool
fn eq(&self, other: &UpdateWorkspaceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateWorkspaceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateWorkspaceInputBuilder
impl RefUnwindSafe for UpdateWorkspaceInputBuilder
impl Send for UpdateWorkspaceInputBuilder
impl Sync for UpdateWorkspaceInputBuilder
impl Unpin for UpdateWorkspaceInputBuilder
impl UnwindSafe for UpdateWorkspaceInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.