Struct aws_sdk_fis::operation::update_target_account_configuration::builders::UpdateTargetAccountConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateTargetAccountConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateTargetAccountConfigurationInput.
Implementations§
source§impl UpdateTargetAccountConfigurationInputBuilder
impl UpdateTargetAccountConfigurationInputBuilder
sourcepub fn experiment_template_id(self, input: impl Into<String>) -> Self
pub fn experiment_template_id(self, input: impl Into<String>) -> Self
The ID of the experiment template.
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 ID of the experiment template.
sourcepub fn get_experiment_template_id(&self) -> &Option<String>
pub fn get_experiment_template_id(&self) -> &Option<String>
The ID of the experiment template.
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.
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<UpdateTargetAccountConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateTargetAccountConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateTargetAccountConfigurationInput.
source§impl UpdateTargetAccountConfigurationInputBuilder
impl UpdateTargetAccountConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTargetAccountConfigurationOutput, SdkError<UpdateTargetAccountConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTargetAccountConfigurationOutput, SdkError<UpdateTargetAccountConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTargetAccountConfigurationInputBuilder
impl Clone for UpdateTargetAccountConfigurationInputBuilder
source§fn clone(&self) -> UpdateTargetAccountConfigurationInputBuilder
fn clone(&self) -> UpdateTargetAccountConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateTargetAccountConfigurationInputBuilder
impl Default for UpdateTargetAccountConfigurationInputBuilder
source§fn default() -> UpdateTargetAccountConfigurationInputBuilder
fn default() -> UpdateTargetAccountConfigurationInputBuilder
source§impl PartialEq for UpdateTargetAccountConfigurationInputBuilder
impl PartialEq for UpdateTargetAccountConfigurationInputBuilder
source§fn eq(&self, other: &UpdateTargetAccountConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateTargetAccountConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateTargetAccountConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTargetAccountConfigurationInputBuilder
impl RefUnwindSafe for UpdateTargetAccountConfigurationInputBuilder
impl Send for UpdateTargetAccountConfigurationInputBuilder
impl Sync for UpdateTargetAccountConfigurationInputBuilder
impl Unpin for UpdateTargetAccountConfigurationInputBuilder
impl UnwindSafe for UpdateTargetAccountConfigurationInputBuilder
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