Interface EnableSecurityHubRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<EnableSecurityHubRequest.Builder,EnableSecurityHubRequest>,SdkBuilder<EnableSecurityHubRequest.Builder,EnableSecurityHubRequest>,SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
- EnableSecurityHubRequest
public static interface EnableSecurityHubRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<EnableSecurityHubRequest.Builder,EnableSecurityHubRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnableSecurityHubRequest.BuildercontrolFindingGenerator(String controlFindingGenerator)This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on.EnableSecurityHubRequest.BuildercontrolFindingGenerator(ControlFindingGenerator controlFindingGenerator)This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on.EnableSecurityHubRequest.BuilderenableDefaultStandards(Boolean enableDefaultStandards)Whether to enable the security standards that Security Hub has designated as automatically enabled.EnableSecurityHubRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)EnableSecurityHubRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)EnableSecurityHubRequest.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
-
-
-
Method Detail
-
tags
EnableSecurityHubRequest.Builder tags(Map<String,String> 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
EnableSecurityHubRequest.Builder enableDefaultStandards(Boolean enableDefaultStandards)
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you don't provide a value for
EnableDefaultStandards, it is set totrue. To not enable the automatically enabled standards, setEnableDefaultStandardstofalse.- Parameters:
enableDefaultStandards- Whether to enable the security standards that Security Hub has designated as automatically enabled. If you don't provide a value forEnableDefaultStandards, it is set totrue. To not enable the automatically enabled standards, setEnableDefaultStandardstofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlFindingGenerator
EnableSecurityHubRequest.Builder controlFindingGenerator(String 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_CONTROLif 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_CONTROLif 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,ControlFindingGenerator
-
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_CONTROLif 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_CONTROLif 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,ControlFindingGenerator
-
overrideConfiguration
EnableSecurityHubRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
EnableSecurityHubRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-