Interface UpdateSecurityHubConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSecurityHubConfigurationRequest.Builder,,UpdateSecurityHubConfigurationRequest> SdkBuilder<UpdateSecurityHubConfigurationRequest.Builder,,UpdateSecurityHubConfigurationRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
UpdateSecurityHubConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoEnableControls(Boolean autoEnableControls) Whether to automatically enable new controls when they are added to standards that are enabled.controlFindingGenerator(String controlFindingGenerator) Updates whether the calling account has consolidated control findings turned on.controlFindingGenerator(ControlFindingGenerator controlFindingGenerator) Updates whether the calling account has consolidated control findings turned on.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
autoEnableControls
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to
true, and new controls are enabled automatically. To not automatically enable new controls, set this tofalse.- Parameters:
autoEnableControls- Whether to automatically enable new controls when they are added to standards that are enabled.By default, this is set to
true, and new controls are enabled automatically. To not automatically enable new controls, set this tofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlFindingGenerator
UpdateSecurityHubConfigurationRequest.Builder controlFindingGenerator(String controlFindingGenerator) Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to
SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
- Parameters:
controlFindingGenerator- Updates whether the calling account has consolidated control findings turned on. If the value for this field is set toSECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
controlFindingGenerator
UpdateSecurityHubConfigurationRequest.Builder controlFindingGenerator(ControlFindingGenerator controlFindingGenerator) Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to
SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
- Parameters:
controlFindingGenerator- Updates whether the calling account has consolidated control findings turned on. If the value for this field is set toSECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSecurityHubConfigurationRequest.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
UpdateSecurityHubConfigurationRequest.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.
-