#[non_exhaustive]pub struct ApplicationStateBuilder { /* private fields */ }Expand description
A builder for ApplicationState.
Implementations§
source§impl ApplicationStateBuilder
impl ApplicationStateBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The configurationId from the Application Discovery Service that uniquely identifies an application.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The configurationId from the Application Discovery Service that uniquely identifies an application.
sourcepub fn application_status(self, input: ApplicationStatus) -> Self
pub fn application_status(self, input: ApplicationStatus) -> Self
The current status of an application.
sourcepub fn set_application_status(self, input: Option<ApplicationStatus>) -> Self
pub fn set_application_status(self, input: Option<ApplicationStatus>) -> Self
The current status of an application.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The timestamp when the application status was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The timestamp when the application status was last updated.
sourcepub fn build(self) -> ApplicationState
pub fn build(self) -> ApplicationState
Consumes the builder and constructs a ApplicationState.
Trait Implementations§
source§impl Clone for ApplicationStateBuilder
impl Clone for ApplicationStateBuilder
source§fn clone(&self) -> ApplicationStateBuilder
fn clone(&self) -> ApplicationStateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ApplicationStateBuilder
impl Debug for ApplicationStateBuilder
source§impl Default for ApplicationStateBuilder
impl Default for ApplicationStateBuilder
source§fn default() -> ApplicationStateBuilder
fn default() -> ApplicationStateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ApplicationStateBuilder> for ApplicationStateBuilder
impl PartialEq<ApplicationStateBuilder> for ApplicationStateBuilder
source§fn eq(&self, other: &ApplicationStateBuilder) -> bool
fn eq(&self, other: &ApplicationStateBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.