Class CfnConfigurationAggregatorProps.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConfigurationAggregatorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationAggregatorProps>
- Enclosing interface:
CfnConfigurationAggregatorProps
@Stability(Stable)
public static final class CfnConfigurationAggregatorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationAggregatorProps>
A builder for
CfnConfigurationAggregatorProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountAggregationSources
(List<? extends Object> accountAggregationSources) Sets the value ofCfnConfigurationAggregatorProps.getAccountAggregationSources()
accountAggregationSources
(IResolvable accountAggregationSources) Sets the value ofCfnConfigurationAggregatorProps.getAccountAggregationSources()
build()
Builds the configured instance.configurationAggregatorName
(String configurationAggregatorName) Sets the value ofCfnConfigurationAggregatorProps.getConfigurationAggregatorName()
organizationAggregationSource
(IResolvable organizationAggregationSource) Sets the value ofCfnConfigurationAggregatorProps.getOrganizationAggregationSource()
organizationAggregationSource
(CfnConfigurationAggregator.OrganizationAggregationSourceProperty organizationAggregationSource) Sets the value ofCfnConfigurationAggregatorProps.getOrganizationAggregationSource()
Sets the value ofCfnConfigurationAggregatorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountAggregationSources
@Stability(Stable) public CfnConfigurationAggregatorProps.Builder accountAggregationSources(IResolvable accountAggregationSources) Sets the value ofCfnConfigurationAggregatorProps.getAccountAggregationSources()
- Parameters:
accountAggregationSources
- Provides a list of source accounts and regions to be aggregated.- Returns:
this
-
accountAggregationSources
@Stability(Stable) public CfnConfigurationAggregatorProps.Builder accountAggregationSources(List<? extends Object> accountAggregationSources) Sets the value ofCfnConfigurationAggregatorProps.getAccountAggregationSources()
- Parameters:
accountAggregationSources
- Provides a list of source accounts and regions to be aggregated.- Returns:
this
-
configurationAggregatorName
@Stability(Stable) public CfnConfigurationAggregatorProps.Builder configurationAggregatorName(String configurationAggregatorName) Sets the value ofCfnConfigurationAggregatorProps.getConfigurationAggregatorName()
- Parameters:
configurationAggregatorName
- The name of the aggregator.- Returns:
this
-
organizationAggregationSource
@Stability(Stable) public CfnConfigurationAggregatorProps.Builder organizationAggregationSource(IResolvable organizationAggregationSource) Sets the value ofCfnConfigurationAggregatorProps.getOrganizationAggregationSource()
- Parameters:
organizationAggregationSource
- Provides an organization and list of regions to be aggregated.- Returns:
this
-
organizationAggregationSource
@Stability(Stable) public CfnConfigurationAggregatorProps.Builder organizationAggregationSource(CfnConfigurationAggregator.OrganizationAggregationSourceProperty organizationAggregationSource) Sets the value ofCfnConfigurationAggregatorProps.getOrganizationAggregationSource()
- Parameters:
organizationAggregationSource
- Provides an organization and list of regions to be aggregated.- Returns:
this
-
tags
Sets the value ofCfnConfigurationAggregatorProps.getTags()
- Parameters:
tags
- An array of tag object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationAggregatorProps>
- Returns:
- a new instance of
CfnConfigurationAggregatorProps
- Throws:
NullPointerException
- if any required attribute was not provided
-