#[non_exhaustive]pub struct ExperimentTargetAccountConfigurationBuilder { /* private fields */ }Expand description
A builder for ExperimentTargetAccountConfiguration.
Implementations§
source§impl ExperimentTargetAccountConfigurationBuilder
impl ExperimentTargetAccountConfigurationBuilder
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 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.
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 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) -> ExperimentTargetAccountConfiguration
pub fn build(self) -> ExperimentTargetAccountConfiguration
Consumes the builder and constructs a ExperimentTargetAccountConfiguration.
Trait Implementations§
source§impl Clone for ExperimentTargetAccountConfigurationBuilder
impl Clone for ExperimentTargetAccountConfigurationBuilder
source§fn clone(&self) -> ExperimentTargetAccountConfigurationBuilder
fn clone(&self) -> ExperimentTargetAccountConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ExperimentTargetAccountConfigurationBuilder
impl Default for ExperimentTargetAccountConfigurationBuilder
source§fn default() -> ExperimentTargetAccountConfigurationBuilder
fn default() -> ExperimentTargetAccountConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExperimentTargetAccountConfigurationBuilder
impl PartialEq for ExperimentTargetAccountConfigurationBuilder
source§fn eq(&self, other: &ExperimentTargetAccountConfigurationBuilder) -> bool
fn eq(&self, other: &ExperimentTargetAccountConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentTargetAccountConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ExperimentTargetAccountConfigurationBuilder
impl RefUnwindSafe for ExperimentTargetAccountConfigurationBuilder
impl Send for ExperimentTargetAccountConfigurationBuilder
impl Sync for ExperimentTargetAccountConfigurationBuilder
impl Unpin for ExperimentTargetAccountConfigurationBuilder
impl UnwindSafe for ExperimentTargetAccountConfigurationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.