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