Class LoggingProjectSinkExclusions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • filter

        @Stability(Stable)
        public LoggingProjectSinkExclusions.Builder filter​(String filter)
        Parameters:
        filter - An advanced logs filter that matches the log entries to be excluded. This parameter is required. By using the sample function, you can exclude less than 100% of the matching log entries Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#filter LoggingProjectSink#filter}
        Returns:
        this
      • name

        @Stability(Stable)
        public LoggingProjectSinkExclusions.Builder name​(String name)
        Parameters:
        name - A client-assigned identifier, such as "load-balancer-exclusion". This parameter is required. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#name LoggingProjectSink#name}
        Returns:
        this
      • disabled

        @Stability(Stable)
        public LoggingProjectSinkExclusions.Builder disabled​(Boolean disabled)
        Parameters:
        disabled - If set to True, then this exclusion is disabled and it does not exclude any log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#disabled LoggingProjectSink#disabled}
        Returns:
        this
      • disabled

        @Stability(Stable)
        public LoggingProjectSinkExclusions.Builder disabled​(com.hashicorp.cdktf.IResolvable disabled)
        Parameters:
        disabled - If set to True, then this exclusion is disabled and it does not exclude any log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#disabled LoggingProjectSink#disabled}
        Returns:
        this