Class SccProjectCustomModuleCustomConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_project_custom_module.SccProjectCustomModuleCustomConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccProjectCustomModuleCustomConfig>
- Enclosing interface:
- SccProjectCustomModuleCustomConfig
@Stability(Stable) public static final class SccProjectCustomModuleCustomConfig.Builder extends Object implements software.amazon.jsii.Builder<SccProjectCustomModuleCustomConfig>
A builder forSccProjectCustomModuleCustomConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
predicate
@Stability(Stable) public SccProjectCustomModuleCustomConfig.Builder predicate(SccProjectCustomModuleCustomConfigPredicate predicate)
Sets the value ofSccProjectCustomModuleCustomConfig.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_project_custom_module#predicate SccProjectCustomModule#predicate}- Returns:
this
-
recommendation
@Stability(Stable) public SccProjectCustomModuleCustomConfig.Builder recommendation(String recommendation)
Sets the value ofSccProjectCustomModuleCustomConfig.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_project_custom_module#recommendation SccProjectCustomModule#recommendation}- Returns:
this
-
resourceSelector
@Stability(Stable) public SccProjectCustomModuleCustomConfig.Builder resourceSelector(SccProjectCustomModuleCustomConfigResourceSelector resourceSelector)
Sets the value ofSccProjectCustomModuleCustomConfig.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_project_custom_module#resource_selector SccProjectCustomModule#resource_selector}- Returns:
this
-
severity
@Stability(Stable) public SccProjectCustomModuleCustomConfig.Builder severity(String severity)
Sets the value ofSccProjectCustomModuleCustomConfig.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_project_custom_module#severity SccProjectCustomModule#severity}- Returns:
this
-
customOutput
@Stability(Stable) public SccProjectCustomModuleCustomConfig.Builder customOutput(SccProjectCustomModuleCustomConfigCustomOutput customOutput)
Sets the value ofSccProjectCustomModuleCustomConfig.getCustomOutput()- Parameters:
customOutput- custom_output block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_project_custom_module#custom_output SccProjectCustomModule#custom_output}- Returns:
this
-
description
@Stability(Stable) public SccProjectCustomModuleCustomConfig.Builder description(String description)
Sets the value ofSccProjectCustomModuleCustomConfig.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_project_custom_module#description SccProjectCustomModule#description}- Returns:
this
-
build
@Stability(Stable) public SccProjectCustomModuleCustomConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccProjectCustomModuleCustomConfig>- Returns:
- a new instance of
SccProjectCustomModuleCustomConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-