Struct aws_sdk_resiliencehub::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentInputBuilder
source · #[non_exhaustive]pub struct CreateAppVersionAppComponentInputBuilder { /* private fields */ }Expand description
A builder for CreateAppVersionAppComponentInput.
Implementations§
source§impl CreateAppVersionAppComponentInputBuilder
impl CreateAppVersionAppComponentInputBuilder
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Name 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.
This field is required.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 client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
sourcepub fn build(self) -> Result<CreateAppVersionAppComponentInput, BuildError>
pub fn build(self) -> Result<CreateAppVersionAppComponentInput, BuildError>
Consumes the builder and constructs a CreateAppVersionAppComponentInput.
source§impl CreateAppVersionAppComponentInputBuilder
impl CreateAppVersionAppComponentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAppVersionAppComponentOutput, SdkError<CreateAppVersionAppComponentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAppVersionAppComponentOutput, SdkError<CreateAppVersionAppComponentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppVersionAppComponentInputBuilder
impl Clone for CreateAppVersionAppComponentInputBuilder
source§fn clone(&self) -> CreateAppVersionAppComponentInputBuilder
fn clone(&self) -> CreateAppVersionAppComponentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateAppVersionAppComponentInputBuilder
impl Default for CreateAppVersionAppComponentInputBuilder
source§fn default() -> CreateAppVersionAppComponentInputBuilder
fn default() -> CreateAppVersionAppComponentInputBuilder
source§impl PartialEq for CreateAppVersionAppComponentInputBuilder
impl PartialEq for CreateAppVersionAppComponentInputBuilder
source§fn eq(&self, other: &CreateAppVersionAppComponentInputBuilder) -> bool
fn eq(&self, other: &CreateAppVersionAppComponentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.