Class CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.config.CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty>
- Enclosing interface:
CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty
@Stability(Stable)
public static final class CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallAwsRegions(Boolean allAwsRegions) allAwsRegions(IResolvable allAwsRegions) awsRegions(List<String> awsRegions) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allAwsRegions
@Stability(Stable) public CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder allAwsRegions(Boolean allAwsRegions) Sets the value ofCfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.getAllAwsRegions()- Parameters:
allAwsRegions- If true, aggregate existing AWS Config regions and future regions.- Returns:
this
-
allAwsRegions
@Stability(Stable) public CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder allAwsRegions(IResolvable allAwsRegions) Sets the value ofCfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.getAllAwsRegions()- Parameters:
allAwsRegions- If true, aggregate existing AWS Config regions and future regions.- Returns:
this
-
awsRegions
@Stability(Stable) public CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder awsRegions(List<String> awsRegions) Sets the value ofCfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.getAwsRegions()- Parameters:
awsRegions- The source regions being aggregated.- Returns:
this
-
roleArn
@Stability(Stable) public CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.Builder roleArn(String roleArn) Sets the value ofCfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty.getRoleArn()- Parameters:
roleArn- ARN of the IAM role used to retrieve AWS Organizations details associated with the aggregator account.- Returns:
this
-
build
@Stability(Stable) public CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty>- Returns:
- a new instance of
CfnConfigurationAggregatorPropsMixin.OrganizationAggregationSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-