Class CfnFindingAggregatorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnFindingAggregatorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFindingAggregatorMixinProps>
- Enclosing interface:
CfnFindingAggregatorMixinProps
@Stability(Stable)
public static final class CfnFindingAggregatorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFindingAggregatorMixinProps>
A builder for
CfnFindingAggregatorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.regionLinkingMode(String regionLinkingMode) Sets the value ofCfnFindingAggregatorMixinProps.getRegionLinkingMode()Sets the value ofCfnFindingAggregatorMixinProps.getRegions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regionLinkingMode
@Stability(Stable) public CfnFindingAggregatorMixinProps.Builder regionLinkingMode(String regionLinkingMode) Sets the value ofCfnFindingAggregatorMixinProps.getRegionLinkingMode()- Parameters:
regionLinkingMode- Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.The selected option also determines how to use the Regions provided in the Regions list.
In CloudFormation , the options for this property are as follows:
ALL_REGIONS- Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.ALL_REGIONS_EXCEPT_SPECIFIED- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegionsparameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.SPECIFIED_REGIONS- Indicates to aggregate findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions.
- Returns:
this
-
regions
Sets the value ofCfnFindingAggregatorMixinProps.getRegions()- Parameters:
regions- IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region. IfRegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFindingAggregatorMixinProps>- Returns:
- a new instance of
CfnFindingAggregatorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-