Struct aws_sdk_proton::types::ComponentState
source · #[non_exhaustive]pub struct ComponentState {
pub service_name: Option<String>,
pub service_instance_name: Option<String>,
pub service_spec: Option<String>,
pub template_file: Option<String>,
}
Expand description
The detailed data about the current state of the component.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.service_name: Option<String>
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
service_instance_name: Option<String>
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
service_spec: Option<String>
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
template_file: Option<String>
The template file used.
Implementations§
source§impl ComponentState
impl ComponentState
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
sourcepub fn service_instance_name(&self) -> Option<&str>
pub fn service_instance_name(&self) -> Option<&str>
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
sourcepub fn service_spec(&self) -> Option<&str>
pub fn service_spec(&self) -> Option<&str>
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
sourcepub fn template_file(&self) -> Option<&str>
pub fn template_file(&self) -> Option<&str>
The template file used.
source§impl ComponentState
impl ComponentState
sourcepub fn builder() -> ComponentStateBuilder
pub fn builder() -> ComponentStateBuilder
Creates a new builder-style object to manufacture ComponentState
.
Trait Implementations§
source§impl Clone for ComponentState
impl Clone for ComponentState
source§fn clone(&self) -> ComponentState
fn clone(&self) -> ComponentState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComponentState
impl Debug for ComponentState
source§impl PartialEq for ComponentState
impl PartialEq for ComponentState
source§fn eq(&self, other: &ComponentState) -> bool
fn eq(&self, other: &ComponentState) -> bool
self
and other
values to be equal, and is used
by ==
.