pub struct Builder { /* private fields */ }Expand description
A builder for NotifyApplicationStateInput.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> Result<NotifyApplicationStateInput, BuildError>
pub fn build(self) -> Result<NotifyApplicationStateInput, BuildError>
Consumes the builder and constructs a NotifyApplicationStateInput.