Struct aws_sdk_resiliencehub::operation::update_app_version::builders::UpdateAppVersionInputBuilder
source · #[non_exhaustive]pub struct UpdateAppVersionInputBuilder { /* private fields */ }Expand description
A builder for UpdateAppVersionInput.
Implementations§
source§impl UpdateAppVersionInputBuilder
impl UpdateAppVersionInputBuilder
sourcepub fn app_arn(self, input: impl Into<String>) -> Self
pub fn app_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn set_app_arn(self, input: Option<String>) -> Self
pub fn set_app_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn get_app_arn(&self) -> &Option<String>
pub fn get_app_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn additional_info(self, k: impl Into<String>, v: Vec<String>) -> Self
pub fn additional_info(self, k: impl Into<String>, v: Vec<String>) -> Self
Adds a key-value pair to additional_info.
To override the contents of this collection use set_additional_info.
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>"}]}]"
sourcepub fn set_additional_info(
self,
input: Option<HashMap<String, Vec<String>>>
) -> Self
pub fn set_additional_info( self, input: Option<HashMap<String, Vec<String>>> ) -> Self
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>"}]}]"
sourcepub fn get_additional_info(&self) -> &Option<HashMap<String, Vec<String>>>
pub fn get_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>"}]}]"
sourcepub fn build(self) -> Result<UpdateAppVersionInput, BuildError>
pub fn build(self) -> Result<UpdateAppVersionInput, BuildError>
Consumes the builder and constructs a UpdateAppVersionInput.
source§impl UpdateAppVersionInputBuilder
impl UpdateAppVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAppVersionOutput, SdkError<UpdateAppVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAppVersionOutput, SdkError<UpdateAppVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAppVersionInputBuilder
impl Clone for UpdateAppVersionInputBuilder
source§fn clone(&self) -> UpdateAppVersionInputBuilder
fn clone(&self) -> UpdateAppVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAppVersionInputBuilder
impl Debug for UpdateAppVersionInputBuilder
source§impl Default for UpdateAppVersionInputBuilder
impl Default for UpdateAppVersionInputBuilder
source§fn default() -> UpdateAppVersionInputBuilder
fn default() -> UpdateAppVersionInputBuilder
source§impl PartialEq for UpdateAppVersionInputBuilder
impl PartialEq for UpdateAppVersionInputBuilder
source§fn eq(&self, other: &UpdateAppVersionInputBuilder) -> bool
fn eq(&self, other: &UpdateAppVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.