Struct aws_sdk_migrationhub::operation::notify_application_state::builders::NotifyApplicationStateFluentBuilder
source · pub struct NotifyApplicationStateFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to NotifyApplicationState.
Sets the migration state of an application. For a given application identified by the value passed to ApplicationId, its status is set or updated by passing one of three values to Status: NOT_STARTED | IN_PROGRESS | COMPLETED.
Implementations§
source§impl NotifyApplicationStateFluentBuilder
impl NotifyApplicationStateFluentBuilder
sourcepub fn as_input(&self) -> &NotifyApplicationStateInputBuilder
pub fn as_input(&self) -> &NotifyApplicationStateInputBuilder
Access the NotifyApplicationState as a reference.
sourcepub async fn send(
self
) -> Result<NotifyApplicationStateOutput, SdkError<NotifyApplicationStateError, HttpResponse>>
pub async fn send( self ) -> Result<NotifyApplicationStateOutput, SdkError<NotifyApplicationStateError, 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<NotifyApplicationStateOutput, NotifyApplicationStateError, Self>
pub fn customize( self ) -> CustomizableOperation<NotifyApplicationStateOutput, NotifyApplicationStateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The configurationId in Application Discovery Service that uniquely identifies the grouped application.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The configurationId in Application Discovery Service that uniquely identifies the grouped application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The configurationId in Application Discovery Service that uniquely identifies the grouped application.
sourcepub fn status(self, input: ApplicationStatus) -> Self
pub fn status(self, input: ApplicationStatus) -> Self
Status of the application - Not Started, In-Progress, Complete.
sourcepub fn set_status(self, input: Option<ApplicationStatus>) -> Self
pub fn set_status(self, input: Option<ApplicationStatus>) -> Self
Status of the application - Not Started, In-Progress, Complete.
sourcepub fn get_status(&self) -> &Option<ApplicationStatus>
pub fn get_status(&self) -> &Option<ApplicationStatus>
Status of the application - Not Started, In-Progress, Complete.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The timestamp when the application state changed.
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 application state changed.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The timestamp when the application state changed.
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 NotifyApplicationStateFluentBuilder
impl Clone for NotifyApplicationStateFluentBuilder
source§fn clone(&self) -> NotifyApplicationStateFluentBuilder
fn clone(&self) -> NotifyApplicationStateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more