Struct aws_sdk_workspaces::operation::migrate_workspace::builders::MigrateWorkspaceOutputBuilder
source · #[non_exhaustive]pub struct MigrateWorkspaceOutputBuilder { /* private fields */ }
Expand description
A builder for MigrateWorkspaceOutput
.
Implementations§
source§impl MigrateWorkspaceOutputBuilder
impl MigrateWorkspaceOutputBuilder
sourcepub fn source_workspace_id(self, input: impl Into<String>) -> Self
pub fn source_workspace_id(self, input: impl Into<String>) -> Self
The original identifier of the WorkSpace that is being migrated.
sourcepub fn set_source_workspace_id(self, input: Option<String>) -> Self
pub fn set_source_workspace_id(self, input: Option<String>) -> Self
The original identifier of the WorkSpace that is being migrated.
sourcepub fn get_source_workspace_id(&self) -> &Option<String>
pub fn get_source_workspace_id(&self) -> &Option<String>
The original identifier of the WorkSpace that is being migrated.
sourcepub fn target_workspace_id(self, input: impl Into<String>) -> Self
pub fn target_workspace_id(self, input: impl Into<String>) -> Self
The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.
sourcepub fn set_target_workspace_id(self, input: Option<String>) -> Self
pub fn set_target_workspace_id(self, input: Option<String>) -> Self
The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.
sourcepub fn get_target_workspace_id(&self) -> &Option<String>
pub fn get_target_workspace_id(&self) -> &Option<String>
The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.
sourcepub fn build(self) -> MigrateWorkspaceOutput
pub fn build(self) -> MigrateWorkspaceOutput
Consumes the builder and constructs a MigrateWorkspaceOutput
.
Trait Implementations§
source§impl Clone for MigrateWorkspaceOutputBuilder
impl Clone for MigrateWorkspaceOutputBuilder
source§fn clone(&self) -> MigrateWorkspaceOutputBuilder
fn clone(&self) -> MigrateWorkspaceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MigrateWorkspaceOutputBuilder
impl Default for MigrateWorkspaceOutputBuilder
source§fn default() -> MigrateWorkspaceOutputBuilder
fn default() -> MigrateWorkspaceOutputBuilder
source§impl PartialEq for MigrateWorkspaceOutputBuilder
impl PartialEq for MigrateWorkspaceOutputBuilder
source§fn eq(&self, other: &MigrateWorkspaceOutputBuilder) -> bool
fn eq(&self, other: &MigrateWorkspaceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MigrateWorkspaceOutputBuilder
Auto Trait Implementations§
impl Freeze for MigrateWorkspaceOutputBuilder
impl RefUnwindSafe for MigrateWorkspaceOutputBuilder
impl Send for MigrateWorkspaceOutputBuilder
impl Sync for MigrateWorkspaceOutputBuilder
impl Unpin for MigrateWorkspaceOutputBuilder
impl UnwindSafe for MigrateWorkspaceOutputBuilder
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> 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