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 Amazon Web Services 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 Amazon Web Services account ID of the target account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services 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 ==.impl StructuralPartialEq for CreateTargetAccountConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTargetAccountConfigurationInputBuilder
impl RefUnwindSafe for CreateTargetAccountConfigurationInputBuilder
impl Send for CreateTargetAccountConfigurationInputBuilder
impl Sync for CreateTargetAccountConfigurationInputBuilder
impl Unpin for CreateTargetAccountConfigurationInputBuilder
impl UnwindSafe for CreateTargetAccountConfigurationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more