Class SccFolderCustomModuleCustomConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_folder_custom_module.SccFolderCustomModuleCustomConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccFolderCustomModuleCustomConfig>
- Enclosing interface:
- SccFolderCustomModuleCustomConfig
@Stability(Stable) public static final class SccFolderCustomModuleCustomConfig.Builder extends Object implements software.amazon.jsii.Builder<SccFolderCustomModuleCustomConfig>
A builder forSccFolderCustomModuleCustomConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
predicate
@Stability(Stable) public SccFolderCustomModuleCustomConfig.Builder predicate(SccFolderCustomModuleCustomConfigPredicate predicate)
Sets the value ofSccFolderCustomModuleCustomConfig.getPredicate()- Parameters:
predicate- predicate block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_folder_custom_module#predicate SccFolderCustomModule#predicate}- Returns:
this
-
recommendation
@Stability(Stable) public SccFolderCustomModuleCustomConfig.Builder recommendation(String recommendation)
Sets the value ofSccFolderCustomModuleCustomConfig.getRecommendation()- Parameters:
recommendation- An explanation of the recommended steps that security teams can take to resolve the detected issue. This parameter is required. This explanation is returned with each finding generated by this module in the nextSteps property of the finding JSON. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_folder_custom_module#recommendation SccFolderCustomModule#recommendation}- Returns:
this
-
resourceSelector
@Stability(Stable) public SccFolderCustomModuleCustomConfig.Builder resourceSelector(SccFolderCustomModuleCustomConfigResourceSelector resourceSelector)
Sets the value ofSccFolderCustomModuleCustomConfig.getResourceSelector()- Parameters:
resourceSelector- resource_selector block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_folder_custom_module#resource_selector SccFolderCustomModule#resource_selector}- Returns:
this
-
severity
@Stability(Stable) public SccFolderCustomModuleCustomConfig.Builder severity(String severity)
Sets the value ofSccFolderCustomModuleCustomConfig.getSeverity()- Parameters:
severity- The severity to assign to findings generated by the module. Possible values: ["CRITICAL", "HIGH", "MEDIUM", "LOW"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_folder_custom_module#severity SccFolderCustomModule#severity}- Returns:
this
-
customOutput
@Stability(Stable) public SccFolderCustomModuleCustomConfig.Builder customOutput(SccFolderCustomModuleCustomConfigCustomOutput customOutput)
Sets the value ofSccFolderCustomModuleCustomConfig.getCustomOutput()- Parameters:
customOutput- custom_output block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_folder_custom_module#custom_output SccFolderCustomModule#custom_output}- Returns:
this
-
description
@Stability(Stable) public SccFolderCustomModuleCustomConfig.Builder description(String description)
Sets the value ofSccFolderCustomModuleCustomConfig.getDescription()- Parameters:
description- Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_folder_custom_module#description SccFolderCustomModule#description}- Returns:
this
-
build
@Stability(Stable) public SccFolderCustomModuleCustomConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccFolderCustomModuleCustomConfig>- Returns:
- a new instance of
SccFolderCustomModuleCustomConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-