Struct aws_sdk_resiliencehub::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentInputBuilder
source · #[non_exhaustive]pub struct UpdateAppVersionAppComponentInputBuilder { /* private fields */ }Expand description
A builder for UpdateAppVersionAppComponentInput.
Implementations§
source§impl UpdateAppVersionAppComponentInputBuilder
impl UpdateAppVersionAppComponentInputBuilder
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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
Identifier of the Application Component.
This field is required.sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
Type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
Type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
Type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
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.
Currently, there is no supported additional information for Application Components.
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
Currently, there is no supported additional information for Application Components.
sourcepub fn get_additional_info(&self) -> &Option<HashMap<String, Vec<String>>>
pub fn get_additional_info(&self) -> &Option<HashMap<String, Vec<String>>>
Currently, there is no supported additional information for Application Components.
sourcepub fn build(self) -> Result<UpdateAppVersionAppComponentInput, BuildError>
pub fn build(self) -> Result<UpdateAppVersionAppComponentInput, BuildError>
Consumes the builder and constructs a UpdateAppVersionAppComponentInput.
source§impl UpdateAppVersionAppComponentInputBuilder
impl UpdateAppVersionAppComponentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAppVersionAppComponentOutput, SdkError<UpdateAppVersionAppComponentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAppVersionAppComponentOutput, SdkError<UpdateAppVersionAppComponentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAppVersionAppComponentInputBuilder
impl Clone for UpdateAppVersionAppComponentInputBuilder
source§fn clone(&self) -> UpdateAppVersionAppComponentInputBuilder
fn clone(&self) -> UpdateAppVersionAppComponentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAppVersionAppComponentInputBuilder
impl Default for UpdateAppVersionAppComponentInputBuilder
source§fn default() -> UpdateAppVersionAppComponentInputBuilder
fn default() -> UpdateAppVersionAppComponentInputBuilder
source§impl PartialEq for UpdateAppVersionAppComponentInputBuilder
impl PartialEq for UpdateAppVersionAppComponentInputBuilder
source§fn eq(&self, other: &UpdateAppVersionAppComponentInputBuilder) -> bool
fn eq(&self, other: &UpdateAppVersionAppComponentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.