#[non_exhaustive]pub struct OrganizationAggregationSourceBuilder { /* private fields */ }Expand description
A builder for OrganizationAggregationSource.
Implementations§
source§impl OrganizationAggregationSourceBuilder
impl OrganizationAggregationSourceBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
ARN of the IAM role used to retrieve Amazon Web Services Organization details associated with the aggregator 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
ARN of the IAM role used to retrieve Amazon Web Services Organization details associated with the aggregator account.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
ARN of the IAM role used to retrieve Amazon Web Services Organization details associated with the aggregator account.
sourcepub fn aws_regions(self, input: impl Into<String>) -> Self
pub fn aws_regions(self, input: impl Into<String>) -> Self
Appends an item to aws_regions.
To override the contents of this collection use set_aws_regions.
The source regions being aggregated.
sourcepub fn set_aws_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_aws_regions(self, input: Option<Vec<String>>) -> Self
The source regions being aggregated.
sourcepub fn get_aws_regions(&self) -> &Option<Vec<String>>
pub fn get_aws_regions(&self) -> &Option<Vec<String>>
The source regions being aggregated.
sourcepub fn all_aws_regions(self, input: bool) -> Self
pub fn all_aws_regions(self, input: bool) -> Self
If true, aggregate existing Config regions and future regions.
sourcepub fn set_all_aws_regions(self, input: Option<bool>) -> Self
pub fn set_all_aws_regions(self, input: Option<bool>) -> Self
If true, aggregate existing Config regions and future regions.
sourcepub fn get_all_aws_regions(&self) -> &Option<bool>
pub fn get_all_aws_regions(&self) -> &Option<bool>
If true, aggregate existing Config regions and future regions.
sourcepub fn build(self) -> Result<OrganizationAggregationSource, BuildError>
pub fn build(self) -> Result<OrganizationAggregationSource, BuildError>
Consumes the builder and constructs a OrganizationAggregationSource.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OrganizationAggregationSourceBuilder
impl Clone for OrganizationAggregationSourceBuilder
source§fn clone(&self) -> OrganizationAggregationSourceBuilder
fn clone(&self) -> OrganizationAggregationSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OrganizationAggregationSourceBuilder
impl Default for OrganizationAggregationSourceBuilder
source§fn default() -> OrganizationAggregationSourceBuilder
fn default() -> OrganizationAggregationSourceBuilder
source§impl PartialEq for OrganizationAggregationSourceBuilder
impl PartialEq for OrganizationAggregationSourceBuilder
source§fn eq(&self, other: &OrganizationAggregationSourceBuilder) -> bool
fn eq(&self, other: &OrganizationAggregationSourceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OrganizationAggregationSourceBuilder
Auto Trait Implementations§
impl Freeze for OrganizationAggregationSourceBuilder
impl RefUnwindSafe for OrganizationAggregationSourceBuilder
impl Send for OrganizationAggregationSourceBuilder
impl Sync for OrganizationAggregationSourceBuilder
impl Unpin for OrganizationAggregationSourceBuilder
impl UnwindSafe for OrganizationAggregationSourceBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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