Struct aws_sdk_resiliencehub::operation::start_app_assessment::builders::StartAppAssessmentFluentBuilder
source · pub struct StartAppAssessmentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartAppAssessment.
Creates a new application assessment for an application.
Implementations§
source§impl StartAppAssessmentFluentBuilder
impl StartAppAssessmentFluentBuilder
sourcepub fn as_input(&self) -> &StartAppAssessmentInputBuilder
pub fn as_input(&self) -> &StartAppAssessmentInputBuilder
Access the StartAppAssessment as a reference.
sourcepub async fn send(
self
) -> Result<StartAppAssessmentOutput, SdkError<StartAppAssessmentError, HttpResponse>>
pub async fn send( self ) -> Result<StartAppAssessmentOutput, SdkError<StartAppAssessmentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartAppAssessmentOutput, StartAppAssessmentError, Self>
pub fn customize( self ) -> CustomizableOperation<StartAppAssessmentOutput, StartAppAssessmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for StartAppAssessmentFluentBuilder
impl Clone for StartAppAssessmentFluentBuilder
source§fn clone(&self) -> StartAppAssessmentFluentBuilder
fn clone(&self) -> StartAppAssessmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more