Interface CreateFindingAggregatorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFindingAggregatorRequest.Builder,CreateFindingAggregatorRequest>,SdkBuilder<CreateFindingAggregatorRequest.Builder,CreateFindingAggregatorRequest>,SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
- CreateFindingAggregatorRequest
public static interface CreateFindingAggregatorRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<CreateFindingAggregatorRequest.Builder,CreateFindingAggregatorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFindingAggregatorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFindingAggregatorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFindingAggregatorRequest.BuilderregionLinkingMode(String regionLinkingMode)Indicates whether to aggregate findings from all of the available Regions in the current partition.CreateFindingAggregatorRequest.Builderregions(String... regions)IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.CreateFindingAggregatorRequest.Builderregions(Collection<String> regions)IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
-
-
-
Method Detail
-
regionLinkingMode
CreateFindingAggregatorRequest.Builder regionLinkingMode(String 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.
The options 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.
- 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.
The options 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:
- Returns a reference to this object so that method calls can be chained together.
-
-
regions
CreateFindingAggregatorRequest.Builder regions(Collection<String> regions)
If
RegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.- Parameters:
regions- IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
CreateFindingAggregatorRequest.Builder regions(String... regions)
If
RegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.- Parameters:
regions- IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFindingAggregatorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFindingAggregatorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-