Struct aws_sdk_ssmsap::types::builders::ApplicationBuilder
source · #[non_exhaustive]pub struct ApplicationBuilder { /* private fields */ }Expand description
A builder for Application.
Implementations§
source§impl ApplicationBuilder
impl ApplicationBuilder
sourcepub fn type(self, input: ApplicationType) -> Self
pub fn type(self, input: ApplicationType) -> Self
The type of the application.
sourcepub fn set_type(self, input: Option<ApplicationType>) -> Self
pub fn set_type(self, input: Option<ApplicationType>) -> Self
The type of the application.
sourcepub fn get_type(&self) -> &Option<ApplicationType>
pub fn get_type(&self) -> &Option<ApplicationType>
The type of the application.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the application.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the application.
sourcepub fn app_registry_arn(self, input: impl Into<String>) -> Self
pub fn app_registry_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Application Registry.
sourcepub fn set_app_registry_arn(self, input: Option<String>) -> Self
pub fn set_app_registry_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Application Registry.
sourcepub fn get_app_registry_arn(&self) -> &Option<String>
pub fn get_app_registry_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Application Registry.
sourcepub fn status(self, input: ApplicationStatus) -> Self
pub fn status(self, input: ApplicationStatus) -> Self
The status of the application.
sourcepub fn set_status(self, input: Option<ApplicationStatus>) -> Self
pub fn set_status(self, input: Option<ApplicationStatus>) -> Self
The status of the application.
sourcepub fn get_status(&self) -> &Option<ApplicationStatus>
pub fn get_status(&self) -> &Option<ApplicationStatus>
The status of the application.
sourcepub fn discovery_status(self, input: ApplicationDiscoveryStatus) -> Self
pub fn discovery_status(self, input: ApplicationDiscoveryStatus) -> Self
The latest discovery result for the application.
sourcepub fn set_discovery_status(
self,
input: Option<ApplicationDiscoveryStatus>
) -> Self
pub fn set_discovery_status( self, input: Option<ApplicationDiscoveryStatus> ) -> Self
The latest discovery result for the application.
sourcepub fn get_discovery_status(&self) -> &Option<ApplicationDiscoveryStatus>
pub fn get_discovery_status(&self) -> &Option<ApplicationDiscoveryStatus>
The latest discovery result for the application.
sourcepub fn components(self, input: impl Into<String>) -> Self
pub fn components(self, input: impl Into<String>) -> Self
Appends an item to components.
To override the contents of this collection use set_components.
The components of the application.
sourcepub fn set_components(self, input: Option<Vec<String>>) -> Self
pub fn set_components(self, input: Option<Vec<String>>) -> Self
The components of the application.
sourcepub fn get_components(&self) -> &Option<Vec<String>>
pub fn get_components(&self) -> &Option<Vec<String>>
The components of the application.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time at which the application was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time at which the application was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The time at which the application was last updated.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message.
sourcepub fn build(self) -> Application
pub fn build(self) -> Application
Consumes the builder and constructs a Application.
Trait Implementations§
source§impl Clone for ApplicationBuilder
impl Clone for ApplicationBuilder
source§fn clone(&self) -> ApplicationBuilder
fn clone(&self) -> ApplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApplicationBuilder
impl Debug for ApplicationBuilder
source§impl Default for ApplicationBuilder
impl Default for ApplicationBuilder
source§fn default() -> ApplicationBuilder
fn default() -> ApplicationBuilder
source§impl PartialEq for ApplicationBuilder
impl PartialEq for ApplicationBuilder
source§fn eq(&self, other: &ApplicationBuilder) -> bool
fn eq(&self, other: &ApplicationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplicationBuilder
Auto Trait Implementations§
impl Freeze for ApplicationBuilder
impl RefUnwindSafe for ApplicationBuilder
impl Send for ApplicationBuilder
impl Sync for ApplicationBuilder
impl Unpin for ApplicationBuilder
impl UnwindSafe for ApplicationBuilder
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