Struct aws_sdk_workspaces::operation::rebuild_workspaces::builders::RebuildWorkspacesFluentBuilder
source · pub struct RebuildWorkspacesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RebuildWorkspaces
.
Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE
, ERROR
, UNHEALTHY
, STOPPED
, or REBOOTING
.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
Implementations§
source§impl RebuildWorkspacesFluentBuilder
impl RebuildWorkspacesFluentBuilder
sourcepub fn as_input(&self) -> &RebuildWorkspacesInputBuilder
pub fn as_input(&self) -> &RebuildWorkspacesInputBuilder
Access the RebuildWorkspaces as a reference.
sourcepub async fn send(
self
) -> Result<RebuildWorkspacesOutput, SdkError<RebuildWorkspacesError, HttpResponse>>
pub async fn send( self ) -> Result<RebuildWorkspacesOutput, SdkError<RebuildWorkspacesError, 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<RebuildWorkspacesOutput, RebuildWorkspacesError, Self>
pub fn customize( self ) -> CustomizableOperation<RebuildWorkspacesOutput, RebuildWorkspacesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn rebuild_workspace_requests(self, input: RebuildRequest) -> Self
pub fn rebuild_workspace_requests(self, input: RebuildRequest) -> Self
Appends an item to RebuildWorkspaceRequests
.
To override the contents of this collection use set_rebuild_workspace_requests
.
The WorkSpace to rebuild. You can specify a single WorkSpace.
sourcepub fn set_rebuild_workspace_requests(
self,
input: Option<Vec<RebuildRequest>>
) -> Self
pub fn set_rebuild_workspace_requests( self, input: Option<Vec<RebuildRequest>> ) -> Self
The WorkSpace to rebuild. You can specify a single WorkSpace.
sourcepub fn get_rebuild_workspace_requests(&self) -> &Option<Vec<RebuildRequest>>
pub fn get_rebuild_workspace_requests(&self) -> &Option<Vec<RebuildRequest>>
The WorkSpace to rebuild. You can specify a single WorkSpace.
Trait Implementations§
source§impl Clone for RebuildWorkspacesFluentBuilder
impl Clone for RebuildWorkspacesFluentBuilder
source§fn clone(&self) -> RebuildWorkspacesFluentBuilder
fn clone(&self) -> RebuildWorkspacesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more