Class SccV2ProjectMuteConfig.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static SccV2ProjectMuteConfig.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 SccV2ProjectMuteConfig.Builder.
      • connection

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public SccV2ProjectMuteConfig.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • filter

        @Stability(Stable)
        public SccV2ProjectMuteConfig.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_project_mute_config#filter SccV2ProjectMuteConfig#filter}

        Parameters:
        filter - An expression that defines the filter to apply across create/update events of findings. This parameter is required.
        Returns:
        this
      • muteConfigId

        @Stability(Stable)
        public SccV2ProjectMuteConfig.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_project_mute_config#mute_config_id SccV2ProjectMuteConfig#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 SccV2ProjectMuteConfig.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_project_mute_config#type SccV2ProjectMuteConfig#type}

        Parameters:
        type - The type of the mute config. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public SccV2ProjectMuteConfig.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_project_mute_config#description SccV2ProjectMuteConfig#description}

        Parameters:
        description - A description of the mute config. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public SccV2ProjectMuteConfig.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_mute_config#id SccV2ProjectMuteConfig#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_project_mute_config#id SccV2ProjectMuteConfig#id}. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public SccV2ProjectMuteConfig.Builder location​(String location)
        location Id is provided by project. 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_project_mute_config#location SccV2ProjectMuteConfig#location}

        Parameters:
        location - location Id is provided by project. If not provided, Use global as default. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public SccV2ProjectMuteConfig.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_mute_config#project SccV2ProjectMuteConfig#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_mute_config#project SccV2ProjectMuteConfig#project}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public SccV2ProjectMuteConfig.Builder timeouts​(SccV2ProjectMuteConfigTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_mute_config#timeouts SccV2ProjectMuteConfig#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this