Struct aws_sdk_resiliencehub::types::AppComponent
source · #[non_exhaustive]pub struct AppComponent {
pub name: String,
pub type: String,
pub id: Option<String>,
pub additional_info: Option<HashMap<String, Vec<String>>>,
}
Expand description
Defines an Application 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.name: String
Name of the Application Component.
type: String
The type of Application Component.
id: Option<String>
Identifier of the Application Component.
additional_info: Option<HashMap<String, Vec<String>>>
Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo
through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
Implementations§
source§impl AppComponent
impl AppComponent
sourcepub fn additional_info(&self) -> Option<&HashMap<String, Vec<String>>>
pub fn additional_info(&self) -> Option<&HashMap<String, Vec<String>>>
Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo
through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
source§impl AppComponent
impl AppComponent
sourcepub fn builder() -> AppComponentBuilder
pub fn builder() -> AppComponentBuilder
Creates a new builder-style object to manufacture AppComponent
.
Trait Implementations§
source§impl Clone for AppComponent
impl Clone for AppComponent
source§fn clone(&self) -> AppComponent
fn clone(&self) -> AppComponent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AppComponent
impl Debug for AppComponent
source§impl PartialEq for AppComponent
impl PartialEq for AppComponent
source§fn eq(&self, other: &AppComponent) -> bool
fn eq(&self, other: &AppComponent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AppComponent
Auto Trait Implementations§
impl Freeze for AppComponent
impl RefUnwindSafe for AppComponent
impl Send for AppComponent
impl Sync for AppComponent
impl Unpin for AppComponent
impl UnwindSafe for AppComponent
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