Class SccV2FolderMuteConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_v2_folder_mute_config.SccV2FolderMuteConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccV2FolderMuteConfig>
- Enclosing class:
- SccV2FolderMuteConfig
@Stability(Stable) public static final class SccV2FolderMuteConfig.Builder extends Object implements software.amazon.jsii.Builder<SccV2FolderMuteConfig>
A fluent builder forSccV2FolderMuteConfig.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SccV2FolderMuteConfigbuild()SccV2FolderMuteConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SccV2FolderMuteConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SccV2FolderMuteConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)SccV2FolderMuteConfig.Buildercount(Number count)static SccV2FolderMuteConfig.Buildercreate(software.constructs.Construct scope, String id)SccV2FolderMuteConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SccV2FolderMuteConfig.Builderdescription(String description)A description of the mute config.SccV2FolderMuteConfig.Builderfilter(String filter)An expression that defines the filter to apply across create/update events of findings.SccV2FolderMuteConfig.Builderfolder(String folder)The folder whose Cloud Security Command Center the Mute Config lives in.SccV2FolderMuteConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SccV2FolderMuteConfig.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#id SccV2FolderMuteConfig#id}.SccV2FolderMuteConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SccV2FolderMuteConfig.Builderlocation(String location)location Id is provided by folder.SccV2FolderMuteConfig.BuildermuteConfigId(String muteConfigId)Unique identifier provided by the client within the parent scope.SccV2FolderMuteConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SccV2FolderMuteConfig.Builderprovisioners(List<? extends Object> provisioners)SccV2FolderMuteConfig.Buildertimeouts(SccV2FolderMuteConfigTimeouts timeouts)timeouts block.SccV2FolderMuteConfig.Buildertype(String type)The type of the mute config.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SccV2FolderMuteConfig.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
SccV2FolderMuteConfig.Builder.
-
connection
@Stability(Experimental) public SccV2FolderMuteConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SccV2FolderMuteConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SccV2FolderMuteConfig.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SccV2FolderMuteConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SccV2FolderMuteConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SccV2FolderMuteConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SccV2FolderMuteConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SccV2FolderMuteConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SccV2FolderMuteConfig.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public SccV2FolderMuteConfig.Builder filter(String filter)
An expression that defines the filter to apply across create/update events of findings.While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#filter SccV2FolderMuteConfig#filter}
- Parameters:
filter- An expression that defines the filter to apply across create/update events of findings. This parameter is required.- Returns:
this
-
folder
@Stability(Stable) public SccV2FolderMuteConfig.Builder folder(String folder)
The folder whose Cloud Security Command Center the Mute Config lives in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#folder SccV2FolderMuteConfig#folder}
- Parameters:
folder- The folder whose Cloud Security Command Center the Mute Config lives in. This parameter is required.- Returns:
this
-
muteConfigId
@Stability(Stable) public SccV2FolderMuteConfig.Builder muteConfigId(String muteConfigId)
Unique identifier provided by the client within the parent scope.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#mute_config_id SccV2FolderMuteConfig#mute_config_id}
- Parameters:
muteConfigId- Unique identifier provided by the client within the parent scope. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public SccV2FolderMuteConfig.Builder type(String type)
The type of the mute config.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#type SccV2FolderMuteConfig#type}
- Parameters:
type- The type of the mute config. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public SccV2FolderMuteConfig.Builder description(String description)
A description of the mute config.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#description SccV2FolderMuteConfig#description}
- Parameters:
description- A description of the mute config. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SccV2FolderMuteConfig.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#id SccV2FolderMuteConfig#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#id SccV2FolderMuteConfig#id}. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public SccV2FolderMuteConfig.Builder location(String location)
location Id is provided by folder. If not provided, Use global as default.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#location SccV2FolderMuteConfig#location}
- Parameters:
location- location Id is provided by folder. If not provided, Use global as default. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public SccV2FolderMuteConfig.Builder timeouts(SccV2FolderMuteConfigTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_mute_config#timeouts SccV2FolderMuteConfig#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SccV2FolderMuteConfig build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccV2FolderMuteConfig>- Returns:
- a newly built instance of
SccV2FolderMuteConfig.
-
-