Struct aws_sdk_fis::operation::create_target_account_configuration::builders::CreateTargetAccountConfigurationFluentBuilder
source · pub struct CreateTargetAccountConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateTargetAccountConfiguration.
Creates a target account configuration for the experiment template. A target account configuration is required when accountTargeting of experimentOptions is set to multi-account. For more information, see experiment options in the Fault Injection Simulator User Guide.
Implementations§
source§impl CreateTargetAccountConfigurationFluentBuilder
impl CreateTargetAccountConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &CreateTargetAccountConfigurationInputBuilder
pub fn as_input(&self) -> &CreateTargetAccountConfigurationInputBuilder
Access the CreateTargetAccountConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<CreateTargetAccountConfigurationOutput, SdkError<CreateTargetAccountConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateTargetAccountConfigurationOutput, SdkError<CreateTargetAccountConfigurationError, 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<CreateTargetAccountConfigurationOutput, CreateTargetAccountConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateTargetAccountConfigurationOutput, CreateTargetAccountConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn experiment_template_id(self, input: impl Into<String>) -> Self
pub fn experiment_template_id(self, input: impl Into<String>) -> Self
The experiment template ID.
sourcepub fn set_experiment_template_id(self, input: Option<String>) -> Self
pub fn set_experiment_template_id(self, input: Option<String>) -> Self
The experiment template ID.
sourcepub fn get_experiment_template_id(&self) -> &Option<String>
pub fn get_experiment_template_id(&self) -> &Option<String>
The experiment template ID.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The AWS account ID of the target account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The AWS account ID of the target account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The AWS account ID of the target account.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role for the target account.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role for the target account.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role for the target account.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the target account.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the target account.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the target account.
Trait Implementations§
source§impl Clone for CreateTargetAccountConfigurationFluentBuilder
impl Clone for CreateTargetAccountConfigurationFluentBuilder
source§fn clone(&self) -> CreateTargetAccountConfigurationFluentBuilder
fn clone(&self) -> CreateTargetAccountConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more