Class LoggingFolderSinkExclusions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_folder_sink.LoggingFolderSinkExclusions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingFolderSinkExclusions>
- Enclosing interface:
- LoggingFolderSinkExclusions
@Stability(Stable) public static final class LoggingFolderSinkExclusions.Builder extends Object implements software.amazon.jsii.Builder<LoggingFolderSinkExclusions>
A builder forLoggingFolderSinkExclusions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingFolderSinkExclusionsbuild()Builds the configured instance.LoggingFolderSinkExclusions.Builderdescription(String description)Sets the value ofLoggingFolderSinkExclusions.getDescription()LoggingFolderSinkExclusions.Builderdisabled(com.hashicorp.cdktf.IResolvable disabled)Sets the value ofLoggingFolderSinkExclusions.getDisabled()LoggingFolderSinkExclusions.Builderdisabled(Boolean disabled)Sets the value ofLoggingFolderSinkExclusions.getDisabled()LoggingFolderSinkExclusions.Builderfilter(String filter)Sets the value ofLoggingFolderSinkExclusions.getFilter()LoggingFolderSinkExclusions.Buildername(String name)Sets the value ofLoggingFolderSinkExclusions.getName()
-
-
-
Method Detail
-
filter
@Stability(Stable) public LoggingFolderSinkExclusions.Builder filter(String filter)
Sets the value ofLoggingFolderSinkExclusions.getFilter()- 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_folder_sink#filter LoggingFolderSink#filter}- Returns:
this
-
name
@Stability(Stable) public LoggingFolderSinkExclusions.Builder name(String name)
Sets the value ofLoggingFolderSinkExclusions.getName()- 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_folder_sink#name LoggingFolderSink#name}- Returns:
this
-
description
@Stability(Stable) public LoggingFolderSinkExclusions.Builder description(String description)
Sets the value ofLoggingFolderSinkExclusions.getDescription()- Parameters:
description- A description of this exclusion. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_sink#description LoggingFolderSink#description}- Returns:
this
-
disabled
@Stability(Stable) public LoggingFolderSinkExclusions.Builder disabled(Boolean disabled)
Sets the value ofLoggingFolderSinkExclusions.getDisabled()- 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_folder_sink#disabled LoggingFolderSink#disabled}- Returns:
this
-
disabled
@Stability(Stable) public LoggingFolderSinkExclusions.Builder disabled(com.hashicorp.cdktf.IResolvable disabled)
Sets the value ofLoggingFolderSinkExclusions.getDisabled()- 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_folder_sink#disabled LoggingFolderSink#disabled}- Returns:
this
-
build
@Stability(Stable) public LoggingFolderSinkExclusions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingFolderSinkExclusions>- Returns:
- a new instance of
LoggingFolderSinkExclusions - Throws:
NullPointerException- if any required attribute was not provided
-
-