Interface UpdateFindingAggregatorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFindingAggregatorRequest.Builder,,UpdateFindingAggregatorRequest> SdkBuilder<UpdateFindingAggregatorRequest.Builder,,UpdateFindingAggregatorRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
UpdateFindingAggregatorRequest
-
Method Summary
Modifier and TypeMethodDescriptionfindingAggregatorArn(String findingAggregatorArn) The ARN of the finding aggregator.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regionLinkingMode(String regionLinkingMode) Indicates whether to aggregate findings from all of the available Regions in the current partition.IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.regions(Collection<String> regions) IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
findingAggregatorArn
The ARN of the finding aggregator. To obtain the ARN, use
ListFindingAggregators.- Parameters:
findingAggregatorArn- The ARN of the finding aggregator. To obtain the ARN, useListFindingAggregators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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- Aggregates 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- Aggregates 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- Aggregates findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions. -
NO_REGIONS- Aggregates no data because no Regions are selected as linked 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- Aggregates 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- Aggregates 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- Aggregates findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions. -
NO_REGIONS- Aggregates no data because no Regions are selected as linked Regions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
regions
If
RegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.An
InvalidInputExceptionerror results if you populate this field whileRegionLinkingModeisNO_REGIONS.- Parameters:
regions- IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.An
InvalidInputExceptionerror results if you populate this field whileRegionLinkingModeisNO_REGIONS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
If
RegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.An
InvalidInputExceptionerror results if you populate this field whileRegionLinkingModeisNO_REGIONS.- Parameters:
regions- IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.An
InvalidInputExceptionerror results if you populate this field whileRegionLinkingModeisNO_REGIONS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFindingAggregatorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFindingAggregatorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-