Struct aws_sdk_proton::model::ServiceInstance
source · [−]#[non_exhaustive]pub struct ServiceInstance { /* private fields */ }
Expand description
Detailed data of an Proton service instance resource.
Implementations
sourceimpl ServiceInstance
impl ServiceInstance
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the service instance was created.
sourcepub fn last_deployment_attempted_at(&self) -> Option<&DateTime>
pub fn last_deployment_attempted_at(&self) -> Option<&DateTime>
The time when a deployment of the service instance was last attempted.
sourcepub fn last_deployment_succeeded_at(&self) -> Option<&DateTime>
pub fn last_deployment_succeeded_at(&self) -> Option<&DateTime>
The time when the service instance was last deployed successfully.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service that the service instance belongs to.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the environment that the service instance was deployed into.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the service template that was used to create the service instance.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
The major version of the service template that was used to create the service instance.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
The minor version of the service template that was used to create the service instance.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The service instance deployment status.
sourcepub fn deployment_status_message(&self) -> Option<&str>
pub fn deployment_status_message(&self) -> Option<&str>
The message associated with the service instance deployment status.
sourceimpl ServiceInstance
impl ServiceInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServiceInstance
.
Trait Implementations
sourceimpl Clone for ServiceInstance
impl Clone for ServiceInstance
sourcefn clone(&self) -> ServiceInstance
fn clone(&self) -> ServiceInstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServiceInstance
impl Debug for ServiceInstance
sourceimpl PartialEq<ServiceInstance> for ServiceInstance
impl PartialEq<ServiceInstance> for ServiceInstance
sourcefn eq(&self, other: &ServiceInstance) -> bool
fn eq(&self, other: &ServiceInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceInstance) -> bool
fn ne(&self, other: &ServiceInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceInstance
Auto Trait Implementations
impl RefUnwindSafe for ServiceInstance
impl Send for ServiceInstance
impl Sync for ServiceInstance
impl Unpin for ServiceInstance
impl UnwindSafe for ServiceInstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more