Struct aws_sdk_resiliencehub::operation::describe_app_version_template::builders::DescribeAppVersionTemplateInputBuilder
source · #[non_exhaustive]pub struct DescribeAppVersionTemplateInputBuilder { /* private fields */ }Expand description
A builder for DescribeAppVersionTemplateInput.
Implementations§
source§impl DescribeAppVersionTemplateInputBuilder
impl DescribeAppVersionTemplateInputBuilder
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 app_version(self, input: impl Into<String>) -> Self
pub fn app_version(self, input: impl Into<String>) -> Self
The version of the application.
This field is required.sourcepub fn set_app_version(self, input: Option<String>) -> Self
pub fn set_app_version(self, input: Option<String>) -> Self
The version of the application.
sourcepub fn get_app_version(&self) -> &Option<String>
pub fn get_app_version(&self) -> &Option<String>
The version of the application.
sourcepub fn build(self) -> Result<DescribeAppVersionTemplateInput, BuildError>
pub fn build(self) -> Result<DescribeAppVersionTemplateInput, BuildError>
Consumes the builder and constructs a DescribeAppVersionTemplateInput.
source§impl DescribeAppVersionTemplateInputBuilder
impl DescribeAppVersionTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeAppVersionTemplateOutput, SdkError<DescribeAppVersionTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeAppVersionTemplateOutput, SdkError<DescribeAppVersionTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeAppVersionTemplateInputBuilder
impl Clone for DescribeAppVersionTemplateInputBuilder
source§fn clone(&self) -> DescribeAppVersionTemplateInputBuilder
fn clone(&self) -> DescribeAppVersionTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeAppVersionTemplateInputBuilder
impl Default for DescribeAppVersionTemplateInputBuilder
source§fn default() -> DescribeAppVersionTemplateInputBuilder
fn default() -> DescribeAppVersionTemplateInputBuilder
source§impl PartialEq for DescribeAppVersionTemplateInputBuilder
impl PartialEq for DescribeAppVersionTemplateInputBuilder
source§fn eq(&self, other: &DescribeAppVersionTemplateInputBuilder) -> bool
fn eq(&self, other: &DescribeAppVersionTemplateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.