pub struct Builder { /* private fields */ }Expand description
A builder for OrganizationAggregationSource.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 build(self) -> OrganizationAggregationSource
pub fn build(self) -> OrganizationAggregationSource
Consumes the builder and constructs a OrganizationAggregationSource.