Struct aws_sdk_migrationhub::operation::import_migration_task::builders::ImportMigrationTaskInputBuilder
source · #[non_exhaustive]pub struct ImportMigrationTaskInputBuilder { /* private fields */ }Expand description
A builder for ImportMigrationTaskInput.
Implementations§
source§impl ImportMigrationTaskInputBuilder
impl ImportMigrationTaskInputBuilder
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. >
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<ImportMigrationTaskInput, BuildError>
pub fn build(self) -> Result<ImportMigrationTaskInput, BuildError>
Consumes the builder and constructs a ImportMigrationTaskInput.
source§impl ImportMigrationTaskInputBuilder
impl ImportMigrationTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ImportMigrationTaskOutput, SdkError<ImportMigrationTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ImportMigrationTaskOutput, SdkError<ImportMigrationTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ImportMigrationTaskInputBuilder
impl Clone for ImportMigrationTaskInputBuilder
source§fn clone(&self) -> ImportMigrationTaskInputBuilder
fn clone(&self) -> ImportMigrationTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ImportMigrationTaskInputBuilder
impl Default for ImportMigrationTaskInputBuilder
source§fn default() -> ImportMigrationTaskInputBuilder
fn default() -> ImportMigrationTaskInputBuilder
source§impl PartialEq for ImportMigrationTaskInputBuilder
impl PartialEq for ImportMigrationTaskInputBuilder
source§fn eq(&self, other: &ImportMigrationTaskInputBuilder) -> bool
fn eq(&self, other: &ImportMigrationTaskInputBuilder) -> bool
self and other values to be equal, and is used
by ==.