Struct aws_sdk_workspaces::operation::migrate_workspace::builders::MigrateWorkspaceFluentBuilder
source · pub struct MigrateWorkspaceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to MigrateWorkspace
.
Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.
The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\Users\%USERNAME%
user profile folder is renamed to D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated
. A new D:\Users\%USERNAME%\
folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.
For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.
Implementations§
source§impl MigrateWorkspaceFluentBuilder
impl MigrateWorkspaceFluentBuilder
sourcepub fn as_input(&self) -> &MigrateWorkspaceInputBuilder
pub fn as_input(&self) -> &MigrateWorkspaceInputBuilder
Access the MigrateWorkspace as a reference.
sourcepub async fn send(
self
) -> Result<MigrateWorkspaceOutput, SdkError<MigrateWorkspaceError, HttpResponse>>
pub async fn send( self ) -> Result<MigrateWorkspaceOutput, SdkError<MigrateWorkspaceError, 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<MigrateWorkspaceOutput, MigrateWorkspaceError, Self>
pub fn customize( self ) -> CustomizableOperation<MigrateWorkspaceOutput, MigrateWorkspaceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn source_workspace_id(self, input: impl Into<String>) -> Self
pub fn source_workspace_id(self, input: impl Into<String>) -> Self
The identifier of the WorkSpace to migrate from.
sourcepub fn set_source_workspace_id(self, input: Option<String>) -> Self
pub fn set_source_workspace_id(self, input: Option<String>) -> Self
The identifier of the WorkSpace to migrate from.
sourcepub fn get_source_workspace_id(&self) -> &Option<String>
pub fn get_source_workspace_id(&self) -> &Option<String>
The identifier of the WorkSpace to migrate from.
sourcepub fn bundle_id(self, input: impl Into<String>) -> Self
pub fn bundle_id(self, input: impl Into<String>) -> Self
The identifier of the target bundle type to migrate the WorkSpace to.
sourcepub fn set_bundle_id(self, input: Option<String>) -> Self
pub fn set_bundle_id(self, input: Option<String>) -> Self
The identifier of the target bundle type to migrate the WorkSpace to.
sourcepub fn get_bundle_id(&self) -> &Option<String>
pub fn get_bundle_id(&self) -> &Option<String>
The identifier of the target bundle type to migrate the WorkSpace to.
Trait Implementations§
source§impl Clone for MigrateWorkspaceFluentBuilder
impl Clone for MigrateWorkspaceFluentBuilder
source§fn clone(&self) -> MigrateWorkspaceFluentBuilder
fn clone(&self) -> MigrateWorkspaceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more