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