Class LoggingProjectExclusion.Builder

    • Method Detail

      • create

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

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

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

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

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

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

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

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

        @Stability(Stable)
        public LoggingProjectExclusion.Builder filter​(String filter)
        The filter to apply when excluding logs. Only log entries that match the filter are excluded.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_exclusion#filter LoggingProjectExclusion#filter}

        Parameters:
        filter - The filter to apply when excluding logs. Only log entries that match the filter are excluded. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public LoggingProjectExclusion.Builder name​(String name)
        The name of the logging exclusion.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_exclusion#name LoggingProjectExclusion#name}

        Parameters:
        name - The name of the logging exclusion. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public LoggingProjectExclusion.Builder description​(String description)
        A human-readable description.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_exclusion#description LoggingProjectExclusion#description}

        Parameters:
        description - A human-readable description. This parameter is required.
        Returns:
        this
      • disabled

        @Stability(Stable)
        public LoggingProjectExclusion.Builder disabled​(Boolean disabled)
        Whether this exclusion rule should be disabled or not. This defaults to false.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_exclusion#disabled LoggingProjectExclusion#disabled}

        Parameters:
        disabled - Whether this exclusion rule should be disabled or not. This defaults to false. This parameter is required.
        Returns:
        this
      • disabled

        @Stability(Stable)
        public LoggingProjectExclusion.Builder disabled​(com.hashicorp.cdktf.IResolvable disabled)
        Whether this exclusion rule should be disabled or not. This defaults to false.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_exclusion#disabled LoggingProjectExclusion#disabled}

        Parameters:
        disabled - Whether this exclusion rule should be disabled or not. This defaults to false. This parameter is required.
        Returns:
        this
      • id

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

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

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