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 ==.impl StructuralPartialEq for ImportMigrationTaskInputBuilder
Auto Trait Implementations§
impl Freeze for ImportMigrationTaskInputBuilder
impl RefUnwindSafe for ImportMigrationTaskInputBuilder
impl Send for ImportMigrationTaskInputBuilder
impl Sync for ImportMigrationTaskInputBuilder
impl Unpin for ImportMigrationTaskInputBuilder
impl UnwindSafe for ImportMigrationTaskInputBuilder
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