pub struct MoverJobDefinitionArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> MoverJobDefinitionArgsBuilder<S>
impl<S: State> MoverJobDefinitionArgsBuilder<S>
sourcepub fn build_struct(self) -> MoverJobDefinitionArgswhere
S: IsComplete,
pub fn build_struct(self) -> MoverJobDefinitionArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn agent_name(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetAgentName<S>>where
S::AgentName: IsUnset,
pub fn agent_name(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetAgentName<S>>where
S::AgentName: IsUnset,
sourcepub fn maybe_agent_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetAgentName<S>>where
S::AgentName: IsUnset,
pub fn maybe_agent_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetAgentName<S>>where
S::AgentName: IsUnset,
sourcepub fn copy_mode(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetCopyMode<S>>where
S::CopyMode: IsUnset,
pub fn copy_mode(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetCopyMode<S>>where
S::CopyMode: IsUnset,
Required.
Specifies the strategy to use for copy. Possible values are Additive
and Mirror
.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn source_name(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetSourceName<S>>where
S::SourceName: IsUnset,
pub fn source_name(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetSourceName<S>>where
S::SourceName: IsUnset,
Required.
Specifies the name of the Storage Mover Source Endpoint. Changing this forces a new resource to be created.
sourcepub fn source_sub_path(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetSourceSubPath<S>>where
S::SourceSubPath: IsUnset,
pub fn source_sub_path(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetSourceSubPath<S>>where
S::SourceSubPath: IsUnset,
sourcepub fn maybe_source_sub_path(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetSourceSubPath<S>>where
S::SourceSubPath: IsUnset,
pub fn maybe_source_sub_path(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetSourceSubPath<S>>where
S::SourceSubPath: IsUnset,
sourcepub fn storage_mover_project_id(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetStorageMoverProjectId<S>>where
S::StorageMoverProjectId: IsUnset,
pub fn storage_mover_project_id(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetStorageMoverProjectId<S>>where
S::StorageMoverProjectId: IsUnset,
Required.
Specifies the ID of the Storage Mover Project. Changing this forces a new resource to be created.
sourcepub fn target_name(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetTargetName<S>>where
S::TargetName: IsUnset,
pub fn target_name(
self,
value: impl Into<Output<String>>,
) -> MoverJobDefinitionArgsBuilder<SetTargetName<S>>where
S::TargetName: IsUnset,
Required.
Specifies the name of the Storage Mover target Endpoint. Changing this forces a new resource to be created.
sourcepub fn target_sub_path(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetTargetSubPath<S>>where
S::TargetSubPath: IsUnset,
pub fn target_sub_path(
self,
value: impl Into<Output<Option<String>>>,
) -> MoverJobDefinitionArgsBuilder<SetTargetSubPath<S>>where
S::TargetSubPath: IsUnset,
sourcepub fn maybe_target_sub_path(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetTargetSubPath<S>>where
S::TargetSubPath: IsUnset,
pub fn maybe_target_sub_path(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MoverJobDefinitionArgsBuilder<SetTargetSubPath<S>>where
S::TargetSubPath: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for MoverJobDefinitionArgsBuilder<S>
impl<S> RefUnwindSafe for MoverJobDefinitionArgsBuilder<S>
impl<S> Send for MoverJobDefinitionArgsBuilder<S>
impl<S> Sync for MoverJobDefinitionArgsBuilder<S>
impl<S> Unpin for MoverJobDefinitionArgsBuilder<S>
impl<S> UnwindSafe for MoverJobDefinitionArgsBuilder<S>
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