Struct aws_sdk_resiliencehub::operation::start_app_assessment::builders::StartAppAssessmentInputBuilder
source · #[non_exhaustive]pub struct StartAppAssessmentInputBuilder { /* private fields */ }Expand description
A builder for StartAppAssessmentInput.
Implementations§
source§impl StartAppAssessmentInputBuilder
impl StartAppAssessmentInputBuilder
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 assessment_name(self, input: impl Into<String>) -> Self
pub fn assessment_name(self, input: impl Into<String>) -> Self
The name for the assessment.
This field is required.sourcepub fn set_assessment_name(self, input: Option<String>) -> Self
pub fn set_assessment_name(self, input: Option<String>) -> Self
The name for the assessment.
sourcepub fn get_assessment_name(&self) -> &Option<String>
pub fn get_assessment_name(&self) -> &Option<String>
The name for the assessment.
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
sourcepub fn build(self) -> Result<StartAppAssessmentInput, BuildError>
pub fn build(self) -> Result<StartAppAssessmentInput, BuildError>
Consumes the builder and constructs a StartAppAssessmentInput.
source§impl StartAppAssessmentInputBuilder
impl StartAppAssessmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartAppAssessmentOutput, SdkError<StartAppAssessmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartAppAssessmentOutput, SdkError<StartAppAssessmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartAppAssessmentInputBuilder
impl Clone for StartAppAssessmentInputBuilder
source§fn clone(&self) -> StartAppAssessmentInputBuilder
fn clone(&self) -> StartAppAssessmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartAppAssessmentInputBuilder
impl Default for StartAppAssessmentInputBuilder
source§fn default() -> StartAppAssessmentInputBuilder
fn default() -> StartAppAssessmentInputBuilder
source§impl PartialEq for StartAppAssessmentInputBuilder
impl PartialEq for StartAppAssessmentInputBuilder
source§fn eq(&self, other: &StartAppAssessmentInputBuilder) -> bool
fn eq(&self, other: &StartAppAssessmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.