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