Class AccountState.Builder
- java.lang.Object
-
- com.pulumi.aws.securityhub.inputs.AccountState.Builder
-
- Enclosing class:
- AccountState
public static final class AccountState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AccountState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)AccountState.Builderarn(java.lang.String arn)AccountState.BuilderautoEnableControls(com.pulumi.core.Output<java.lang.Boolean> autoEnableControls)AccountState.BuilderautoEnableControls(java.lang.Boolean autoEnableControls)AccountStatebuild()AccountState.BuildercontrolFindingGenerator(com.pulumi.core.Output<java.lang.String> controlFindingGenerator)AccountState.BuildercontrolFindingGenerator(java.lang.String controlFindingGenerator)AccountState.BuilderenableDefaultStandards(com.pulumi.core.Output<java.lang.Boolean> enableDefaultStandards)AccountState.BuilderenableDefaultStandards(java.lang.Boolean enableDefaultStandards)AccountState.Builderregion(com.pulumi.core.Output<java.lang.String> region)AccountState.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccountState defaults)
-
-
Method Detail
-
arn
public AccountState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the Security Hub Hub created in the account.- Returns:
- builder
-
arn
public AccountState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the Security Hub Hub created in the account.- Returns:
- builder
-
autoEnableControls
public AccountState.Builder autoEnableControls(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoEnableControls)
- 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 to false.- Returns:
- builder
-
autoEnableControls
public AccountState.Builder autoEnableControls(java.lang.Boolean autoEnableControls)
- 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 to false.- Returns:
- builder
-
controlFindingGenerator
public AccountState.Builder controlFindingGenerator(@Nullable com.pulumi.core.Output<java.lang.String> controlFindingGenerator)
- Parameters:
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.- Returns:
- builder
-
controlFindingGenerator
public AccountState.Builder controlFindingGenerator(java.lang.String controlFindingGenerator)
- Parameters:
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.- Returns:
- builder
-
enableDefaultStandards
public AccountState.Builder enableDefaultStandards(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableDefaultStandards)
- Parameters:
enableDefaultStandards- Whether to enable the security standards that Security Hub has designated as automatically enabled including: ` AWS Foundational Security Best Practices v1.0.0 ` and `CIS AWS Foundations Benchmark v1.2.0`. Defaults to `true`.- Returns:
- builder
-
enableDefaultStandards
public AccountState.Builder enableDefaultStandards(java.lang.Boolean enableDefaultStandards)
- Parameters:
enableDefaultStandards- Whether to enable the security standards that Security Hub has designated as automatically enabled including: ` AWS Foundational Security Best Practices v1.0.0 ` and `CIS AWS Foundations Benchmark v1.2.0`. Defaults to `true`.- Returns:
- builder
-
region
public AccountState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public AccountState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
build
public AccountState build()
-
-