Class CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationAggregator.AccountAggregationSourceProperty>
- Enclosing interface:
CfnConfigurationAggregator.AccountAggregationSourceProperty
@Stability(Stable)
public static final class CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationAggregator.AccountAggregationSourceProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(List<String> accountIds) allAwsRegions
(Boolean allAwsRegions) allAwsRegions
(IResolvable allAwsRegions) awsRegions
(List<String> awsRegions) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountIds
@Stability(Stable) public CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder accountIds(List<String> accountIds) - Parameters:
accountIds
- The 12-digit account ID of the account being aggregated. This parameter is required.- Returns:
this
-
allAwsRegions
@Stability(Stable) public CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder allAwsRegions(Boolean allAwsRegions) - Parameters:
allAwsRegions
- If true, aggregate existing AWS Config regions and future regions.- Returns:
this
-
allAwsRegions
@Stability(Stable) public CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder allAwsRegions(IResolvable allAwsRegions) - Parameters:
allAwsRegions
- If true, aggregate existing AWS Config regions and future regions.- Returns:
this
-
awsRegions
@Stability(Stable) public CfnConfigurationAggregator.AccountAggregationSourceProperty.Builder awsRegions(List<String> awsRegions) - Parameters:
awsRegions
- The source regions being aggregated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationAggregator.AccountAggregationSourceProperty>
- Returns:
- a new instance of
CfnConfigurationAggregator.AccountAggregationSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-