Struct aws_sdk_migrationhub::operation::import_migration_task::builders::ImportMigrationTaskFluentBuilder
source · pub struct ImportMigrationTaskFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ImportMigrationTask.
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.
This API is a prerequisite to calling the NotifyMigrationTaskState API as the migration tool must first register the migration task with Migration Hub.
Implementations§
source§impl ImportMigrationTaskFluentBuilder
impl ImportMigrationTaskFluentBuilder
sourcepub fn as_input(&self) -> &ImportMigrationTaskInputBuilder
pub fn as_input(&self) -> &ImportMigrationTaskInputBuilder
Access the ImportMigrationTask as a reference.
sourcepub async fn send(
self
) -> Result<ImportMigrationTaskOutput, SdkError<ImportMigrationTaskError, HttpResponse>>
pub async fn send( self ) -> Result<ImportMigrationTaskOutput, SdkError<ImportMigrationTaskError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ImportMigrationTaskOutput, ImportMigrationTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<ImportMigrationTaskOutput, ImportMigrationTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn progress_update_stream(self, input: impl Into<String>) -> Self
pub fn progress_update_stream(self, input: impl Into<String>) -> Self
The name of the ProgressUpdateStream. >
sourcepub fn set_progress_update_stream(self, input: Option<String>) -> Self
pub fn set_progress_update_stream(self, input: Option<String>) -> Self
The name of the ProgressUpdateStream. >
sourcepub fn get_progress_update_stream(&self) -> &Option<String>
pub fn get_progress_update_stream(&self) -> &Option<String>
The name of the ProgressUpdateStream. >
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 dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Trait Implementations§
source§impl Clone for ImportMigrationTaskFluentBuilder
impl Clone for ImportMigrationTaskFluentBuilder
source§fn clone(&self) -> ImportMigrationTaskFluentBuilder
fn clone(&self) -> ImportMigrationTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more