Struct aws_sdk_migrationhub::operation::notify_migration_task_state::builders::NotifyMigrationTaskStateFluentBuilder
source · pub struct NotifyMigrationTaskStateFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to NotifyMigrationTaskState.
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
-
Migration tools will call the
NotifyMigrationTaskStateAPI to share the latest progress and status. -
MigrationTaskNameis used for addressing updates to the correct target. -
ProgressUpdateStreamis used for access control and to provide a namespace for each migration tool.
Implementations§
source§impl NotifyMigrationTaskStateFluentBuilder
impl NotifyMigrationTaskStateFluentBuilder
sourcepub fn as_input(&self) -> &NotifyMigrationTaskStateInputBuilder
pub fn as_input(&self) -> &NotifyMigrationTaskStateInputBuilder
Access the NotifyMigrationTaskState as a reference.
sourcepub async fn send(
self
) -> Result<NotifyMigrationTaskStateOutput, SdkError<NotifyMigrationTaskStateError, HttpResponse>>
pub async fn send( self ) -> Result<NotifyMigrationTaskStateOutput, SdkError<NotifyMigrationTaskStateError, 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<NotifyMigrationTaskStateOutput, NotifyMigrationTaskStateError, Self>
pub fn customize( self ) -> CustomizableOperation<NotifyMigrationTaskStateOutput, NotifyMigrationTaskStateError, 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 set_task(self, input: Option<Task>) -> Self
pub fn set_task(self, input: Option<Task>) -> Self
Information about the task's progress and status.
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 get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The timestamp when the task was gathered.
sourcepub fn next_update_seconds(self, input: i32) -> Self
pub fn next_update_seconds(self, input: i32) -> Self
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
sourcepub fn set_next_update_seconds(self, input: Option<i32>) -> Self
pub fn set_next_update_seconds(self, input: Option<i32>) -> Self
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
sourcepub fn get_next_update_seconds(&self) -> &Option<i32>
pub fn get_next_update_seconds(&self) -> &Option<i32>
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
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 NotifyMigrationTaskStateFluentBuilder
impl Clone for NotifyMigrationTaskStateFluentBuilder
source§fn clone(&self) -> NotifyMigrationTaskStateFluentBuilder
fn clone(&self) -> NotifyMigrationTaskStateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more