Class CfnAggregatorV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnAggregatorV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAggregatorV2Props>
- Enclosing interface:
CfnAggregatorV2Props
@Stability(Stable)
public static final class CfnAggregatorV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAggregatorV2Props>
A builder for
CfnAggregatorV2Props
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.linkedRegions
(List<String> linkedRegions) Sets the value ofCfnAggregatorV2Props.getLinkedRegions()
regionLinkingMode
(String regionLinkingMode) Sets the value ofCfnAggregatorV2Props.getRegionLinkingMode()
Sets the value ofCfnAggregatorV2Props.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
linkedRegions
Sets the value ofCfnAggregatorV2Props.getLinkedRegions()
- Parameters:
linkedRegions
- The list of Regions that are linked to the aggregation Region. This parameter is required.- Returns:
this
-
regionLinkingMode
Sets the value ofCfnAggregatorV2Props.getRegionLinkingMode()
- Parameters:
regionLinkingMode
- Determines how Regions are linked to an Aggregator V2. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnAggregatorV2Props.getTags()
- Parameters:
tags
- A list of key-value pairs to be applied to the AggregatorV2.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAggregatorV2Props>
- Returns:
- a new instance of
CfnAggregatorV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-