Interface EnableSecurityHubRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<EnableSecurityHubRequest.Builder,
,EnableSecurityHubRequest> SdkBuilder<EnableSecurityHubRequest.Builder,
,EnableSecurityHubRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
EnableSecurityHubRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontrolFindingGenerator
(String controlFindingGenerator) This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on.controlFindingGenerator
(ControlFindingGenerator controlFindingGenerator) This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on.enableDefaultStandards
(Boolean enableDefaultStandards) Whether to enable the security standards that Security Hub has designated as automatically enabled.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to add to the hub resource when you enable Security Hub.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 Details
-
tags
The tags to add to the hub resource when you enable Security Hub.
- Parameters:
tags
- The tags to add to the hub resource when you enable Security Hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableDefaultStandards
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for
EnableDefaultStandards
, it is set totrue
. To not enable the automatically enabled standards, setEnableDefaultStandards
tofalse
.- Parameters:
enableDefaultStandards
- Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value forEnableDefaultStandards
, it is set totrue
. To not enable the automatically enabled standards, setEnableDefaultStandards
tofalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlFindingGenerator
This field, used when enabling Security Hub, specifies 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.The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is
SECURITY_CONTROL
if you enabled Security Hub on or after February 23, 2023.- Parameters:
controlFindingGenerator
- This field, used when enabling Security Hub, specifies 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.The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is
SECURITY_CONTROL
if you enabled Security Hub on or after February 23, 2023.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
controlFindingGenerator
EnableSecurityHubRequest.Builder controlFindingGenerator(ControlFindingGenerator controlFindingGenerator) This field, used when enabling Security Hub, specifies 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.The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is
SECURITY_CONTROL
if you enabled Security Hub on or after February 23, 2023.- Parameters:
controlFindingGenerator
- This field, used when enabling Security Hub, specifies 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.The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is
SECURITY_CONTROL
if you enabled Security Hub on or after February 23, 2023.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
EnableSecurityHubRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
EnableSecurityHubRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-