Struct aws_sdk_config::model::account_aggregation_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AccountAggregationSource.
Implementations§
source§impl Builder
impl Builder
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to account_ids.
To override the contents of this collection use set_account_ids.
The 12-digit account ID of the account being aggregated.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
The 12-digit account ID of the account 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 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 build(self) -> AccountAggregationSource
pub fn build(self) -> AccountAggregationSource
Consumes the builder and constructs a AccountAggregationSource.