Struct aws_sdk_migrationhub::types::builders::MigrationTaskBuilder
source · #[non_exhaustive]pub struct MigrationTaskBuilder { /* private fields */ }Expand description
A builder for MigrationTask.
Implementations§
source§impl MigrationTaskBuilder
impl MigrationTaskBuilder
sourcepub fn progress_update_stream(self, input: impl Into<String>) -> Self
pub fn progress_update_stream(self, input: impl Into<String>) -> Self
A name that identifies the vendor of the migration tool being used.
sourcepub fn set_progress_update_stream(self, input: Option<String>) -> Self
pub fn set_progress_update_stream(self, input: Option<String>) -> Self
A name that identifies the vendor of the migration tool being used.
sourcepub fn get_progress_update_stream(&self) -> &Option<String>
pub fn get_progress_update_stream(&self) -> &Option<String>
A name that identifies the vendor of the migration tool being used.
sourcepub fn migration_task_name(self, input: impl Into<String>) -> Self
pub fn migration_task_name(self, input: impl Into<String>) -> Self
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn set_migration_task_name(self, input: Option<String>) -> Self
pub fn set_migration_task_name(self, input: Option<String>) -> Self
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn get_migration_task_name(&self) -> &Option<String>
pub fn get_migration_task_name(&self) -> &Option<String>
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The timestamp when the task was gathered.
sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The timestamp when the task was gathered.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The timestamp when the task was gathered.
sourcepub fn resource_attribute_list(self, input: ResourceAttribute) -> Self
pub fn resource_attribute_list(self, input: ResourceAttribute) -> Self
Appends an item to resource_attribute_list.
To override the contents of this collection use set_resource_attribute_list.
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
sourcepub fn set_resource_attribute_list(
self,
input: Option<Vec<ResourceAttribute>>
) -> Self
pub fn set_resource_attribute_list( self, input: Option<Vec<ResourceAttribute>> ) -> Self
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
sourcepub fn get_resource_attribute_list(&self) -> &Option<Vec<ResourceAttribute>>
pub fn get_resource_attribute_list(&self) -> &Option<Vec<ResourceAttribute>>
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
sourcepub fn build(self) -> MigrationTask
pub fn build(self) -> MigrationTask
Consumes the builder and constructs a MigrationTask.
Trait Implementations§
source§impl Clone for MigrationTaskBuilder
impl Clone for MigrationTaskBuilder
source§fn clone(&self) -> MigrationTaskBuilder
fn clone(&self) -> MigrationTaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MigrationTaskBuilder
impl Debug for MigrationTaskBuilder
source§impl Default for MigrationTaskBuilder
impl Default for MigrationTaskBuilder
source§fn default() -> MigrationTaskBuilder
fn default() -> MigrationTaskBuilder
source§impl PartialEq for MigrationTaskBuilder
impl PartialEq for MigrationTaskBuilder
source§fn eq(&self, other: &MigrationTaskBuilder) -> bool
fn eq(&self, other: &MigrationTaskBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MigrationTaskBuilder
Auto Trait Implementations§
impl Freeze for MigrationTaskBuilder
impl RefUnwindSafe for MigrationTaskBuilder
impl Send for MigrationTaskBuilder
impl Sync for MigrationTaskBuilder
impl Unpin for MigrationTaskBuilder
impl UnwindSafe for MigrationTaskBuilder
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