Class LoggingFolderSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_folder_settings.LoggingFolderSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingFolderSettings>
- Enclosing class:
- LoggingFolderSettings
@Stability(Stable) public static final class LoggingFolderSettings.Builder extends Object implements software.amazon.jsii.Builder<LoggingFolderSettings>
A fluent builder forLoggingFolderSettings.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingFolderSettingsbuild()LoggingFolderSettings.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)LoggingFolderSettings.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)LoggingFolderSettings.Buildercount(com.hashicorp.cdktf.TerraformCount count)LoggingFolderSettings.Buildercount(Number count)static LoggingFolderSettings.Buildercreate(software.constructs.Construct scope, String id)LoggingFolderSettings.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)LoggingFolderSettings.BuilderdisableDefaultSink(com.hashicorp.cdktf.IResolvable disableDefaultSink)If set to true, the _Default sink in newly created projects and folders will created in a disabled state.LoggingFolderSettings.BuilderdisableDefaultSink(Boolean disableDefaultSink)If set to true, the _Default sink in newly created projects and folders will created in a disabled state.LoggingFolderSettings.Builderfolder(String folder)The folder for which to retrieve settings.LoggingFolderSettings.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)LoggingFolderSettings.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#id LoggingFolderSettings#id}.LoggingFolderSettings.BuilderkmsKeyName(String kmsKeyName)The resource name for the configured Cloud KMS key.LoggingFolderSettings.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)LoggingFolderSettings.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)LoggingFolderSettings.Builderprovisioners(List<? extends Object> provisioners)LoggingFolderSettings.BuilderstorageLocation(String storageLocation)The storage location that Cloud Logging will use to create new resources when a location is needed but not explicitly provided.LoggingFolderSettings.Buildertimeouts(LoggingFolderSettingsTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static LoggingFolderSettings.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
LoggingFolderSettings.Builder.
-
connection
@Stability(Experimental) public LoggingFolderSettings.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public LoggingFolderSettings.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public LoggingFolderSettings.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public LoggingFolderSettings.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public LoggingFolderSettings.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public LoggingFolderSettings.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public LoggingFolderSettings.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public LoggingFolderSettings.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public LoggingFolderSettings.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
folder
@Stability(Stable) public LoggingFolderSettings.Builder folder(String folder)
The folder for which to retrieve settings.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#folder LoggingFolderSettings#folder}
- Parameters:
folder- The folder for which to retrieve settings. This parameter is required.- Returns:
this
-
disableDefaultSink
@Stability(Stable) public LoggingFolderSettings.Builder disableDefaultSink(Boolean disableDefaultSink)
If set to true, the _Default sink in newly created projects and folders will created in a disabled state.This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#disable_default_sink LoggingFolderSettings#disable_default_sink}
- Parameters:
disableDefaultSink- If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This parameter is required.- Returns:
this
-
disableDefaultSink
@Stability(Stable) public LoggingFolderSettings.Builder disableDefaultSink(com.hashicorp.cdktf.IResolvable disableDefaultSink)
If set to true, the _Default sink in newly created projects and folders will created in a disabled state.This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#disable_default_sink LoggingFolderSettings#disable_default_sink}
- Parameters:
disableDefaultSink- If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public LoggingFolderSettings.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#id LoggingFolderSettings#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_settings#id LoggingFolderSettings#id}. This parameter is required.- Returns:
this
-
kmsKeyName
@Stability(Stable) public LoggingFolderSettings.Builder kmsKeyName(String kmsKeyName)
The resource name for the configured Cloud KMS key.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#kms_key_name LoggingFolderSettings#kms_key_name}
- Parameters:
kmsKeyName- The resource name for the configured Cloud KMS key. This parameter is required.- Returns:
this
-
storageLocation
@Stability(Stable) public LoggingFolderSettings.Builder storageLocation(String storageLocation)
The storage location that Cloud Logging will use to create new resources when a location is needed but not explicitly provided.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#storage_location LoggingFolderSettings#storage_location}
- Parameters:
storageLocation- The storage location that Cloud Logging will use to create new resources when a location is needed but not explicitly provided. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public LoggingFolderSettings.Builder timeouts(LoggingFolderSettingsTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_folder_settings#timeouts LoggingFolderSettings#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public LoggingFolderSettings build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingFolderSettings>- Returns:
- a newly built instance of
LoggingFolderSettings.
-
-