Struct aws_sdk_migrationhub::types::MigrationTask
source · #[non_exhaustive]pub struct MigrationTask {
pub progress_update_stream: Option<String>,
pub migration_task_name: Option<String>,
pub task: Option<Task>,
pub update_date_time: Option<DateTime>,
pub resource_attribute_list: Option<Vec<ResourceAttribute>>,
}Expand description
Represents a migration task in a migration tool.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.progress_update_stream: Option<String>A name that identifies the vendor of the migration tool being used.
migration_task_name: Option<String>Unique identifier that references the migration task. Do not store personal data in this field.
task: Option<Task>Task object encapsulating task information.
update_date_time: Option<DateTime>The timestamp when the task was gathered.
resource_attribute_list: 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.
Implementations§
source§impl MigrationTask
impl MigrationTask
sourcepub fn progress_update_stream(&self) -> Option<&str>
pub fn progress_update_stream(&self) -> Option<&str>
A name that identifies the vendor of the migration tool being used.
sourcepub fn migration_task_name(&self) -> Option<&str>
pub fn migration_task_name(&self) -> Option<&str>
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn update_date_time(&self) -> Option<&DateTime>
pub fn update_date_time(&self) -> Option<&DateTime>
The timestamp when the task was gathered.
sourcepub fn resource_attribute_list(&self) -> &[ResourceAttribute]
pub fn resource_attribute_list(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_attribute_list.is_none().
source§impl MigrationTask
impl MigrationTask
sourcepub fn builder() -> MigrationTaskBuilder
pub fn builder() -> MigrationTaskBuilder
Creates a new builder-style object to manufacture MigrationTask.
Trait Implementations§
source§impl Clone for MigrationTask
impl Clone for MigrationTask
source§fn clone(&self) -> MigrationTask
fn clone(&self) -> MigrationTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MigrationTask
impl Debug for MigrationTask
source§impl PartialEq for MigrationTask
impl PartialEq for MigrationTask
source§fn eq(&self, other: &MigrationTask) -> bool
fn eq(&self, other: &MigrationTask) -> bool
self and other values to be equal, and is used
by ==.