Struct aws_sdk_migrationhub::model::migration_task::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for MigrationTask.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> MigrationTask
pub fn build(self) -> MigrationTask
Consumes the builder and constructs a MigrationTask.