Class LoggingFolderExclusion.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_folder_exclusion.LoggingFolderExclusion.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingFolderExclusion>
- Enclosing class:
- LoggingFolderExclusion
@Stability(Stable) public static final class LoggingFolderExclusion.Builder extends Object implements software.amazon.jsii.Builder<LoggingFolderExclusion>
A fluent builder forLoggingFolderExclusion.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingFolderExclusionbuild()LoggingFolderExclusion.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)LoggingFolderExclusion.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)LoggingFolderExclusion.Buildercount(com.hashicorp.cdktf.TerraformCount count)LoggingFolderExclusion.Buildercount(Number count)static LoggingFolderExclusion.Buildercreate(software.constructs.Construct scope, String id)LoggingFolderExclusion.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)LoggingFolderExclusion.Builderdescription(String description)A human-readable description.LoggingFolderExclusion.Builderdisabled(com.hashicorp.cdktf.IResolvable disabled)Whether this exclusion rule should be disabled or not.LoggingFolderExclusion.Builderdisabled(Boolean disabled)Whether this exclusion rule should be disabled or not.LoggingFolderExclusion.Builderfilter(String filter)The filter to apply when excluding logs.LoggingFolderExclusion.Builderfolder(String folder)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_exclusion#folder LoggingFolderExclusion#folder}.LoggingFolderExclusion.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)LoggingFolderExclusion.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_exclusion#id LoggingFolderExclusion#id}.LoggingFolderExclusion.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)LoggingFolderExclusion.Buildername(String name)The name of the logging exclusion.LoggingFolderExclusion.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)LoggingFolderExclusion.Builderprovisioners(List<? extends Object> provisioners)
-
-
-
Method Detail
-
create
@Stability(Stable) public static LoggingFolderExclusion.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
LoggingFolderExclusion.Builder.
-
connection
@Stability(Experimental) public LoggingFolderExclusion.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public LoggingFolderExclusion.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public LoggingFolderExclusion.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public LoggingFolderExclusion.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public LoggingFolderExclusion.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public LoggingFolderExclusion.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public LoggingFolderExclusion.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public LoggingFolderExclusion.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public LoggingFolderExclusion.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public LoggingFolderExclusion.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_folder_exclusion#filter LoggingFolderExclusion#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
-
folder
@Stability(Stable) public LoggingFolderExclusion.Builder folder(String folder)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_exclusion#folder LoggingFolderExclusion#folder}.- Parameters:
folder- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_exclusion#folder LoggingFolderExclusion#folder}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public LoggingFolderExclusion.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_folder_exclusion#name LoggingFolderExclusion#name}
- Parameters:
name- The name of the logging exclusion. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public LoggingFolderExclusion.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_folder_exclusion#description LoggingFolderExclusion#description}
- Parameters:
description- A human-readable description. This parameter is required.- Returns:
this
-
disabled
@Stability(Stable) public LoggingFolderExclusion.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_folder_exclusion#disabled LoggingFolderExclusion#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 LoggingFolderExclusion.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_folder_exclusion#disabled LoggingFolderExclusion#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 LoggingFolderExclusion.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_exclusion#id LoggingFolderExclusion#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_folder_exclusion#id LoggingFolderExclusion#id}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public LoggingFolderExclusion build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingFolderExclusion>- Returns:
- a newly built instance of
LoggingFolderExclusion.
-
-