Class LoggingLogView.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_log_view.LoggingLogView.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingLogView>
- Enclosing class:
- LoggingLogView
@Stability(Stable) public static final class LoggingLogView.Builder extends Object implements software.amazon.jsii.Builder<LoggingLogView>
A fluent builder forLoggingLogView.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingLogView.Builderbucket(String bucket)The bucket of the resource.LoggingLogViewbuild()LoggingLogView.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)LoggingLogView.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)LoggingLogView.Buildercount(com.hashicorp.cdktf.TerraformCount count)LoggingLogView.Buildercount(Number count)static LoggingLogView.Buildercreate(software.constructs.Construct scope, String id)LoggingLogView.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)LoggingLogView.Builderdescription(String description)Describes this view.LoggingLogView.Builderfilter(String filter)Filter that restricts which log entries in a bucket are visible in this view.LoggingLogView.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)LoggingLogView.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#id LoggingLogView#id}.LoggingLogView.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)LoggingLogView.Builderlocation(String location)The location of the resource.LoggingLogView.Buildername(String name)The resource name of the view.LoggingLogView.Builderparent(String parent)The parent of the resource.LoggingLogView.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)LoggingLogView.Builderprovisioners(List<? extends Object> provisioners)LoggingLogView.Buildertimeouts(LoggingLogViewTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static LoggingLogView.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
LoggingLogView.Builder.
-
connection
@Stability(Experimental) public LoggingLogView.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public LoggingLogView.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public LoggingLogView.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public LoggingLogView.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public LoggingLogView.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public LoggingLogView.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public LoggingLogView.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public LoggingLogView.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public LoggingLogView.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
bucket
@Stability(Stable) public LoggingLogView.Builder bucket(String bucket)
The bucket of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#bucket LoggingLogView#bucket}
- Parameters:
bucket- The bucket of the resource. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public LoggingLogView.Builder name(String name)
The resource name of the view. For example: 'projects/my-project/locations/global/buckets/my-bucket/views/my-view'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#name LoggingLogView#name}
- Parameters:
name- The resource name of the view. For example: 'projects/my-project/locations/global/buckets/my-bucket/views/my-view'. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public LoggingLogView.Builder description(String description)
Describes this view.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#description LoggingLogView#description}
- Parameters:
description- Describes this view. This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public LoggingLogView.Builder filter(String filter)
Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#filter LoggingLogView#filter}
- Parameters:
filter- Filter that restricts which log entries in a bucket are visible in this view. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public LoggingLogView.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#id LoggingLogView#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_log_view#id LoggingLogView#id}. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public LoggingLogView.Builder location(String location)
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#location LoggingLogView#location}
- Parameters:
location- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public LoggingLogView.Builder parent(String parent)
The parent of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#parent LoggingLogView#parent}
- Parameters:
parent- The parent of the resource. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public LoggingLogView.Builder timeouts(LoggingLogViewTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#timeouts LoggingLogView#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public LoggingLogView build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingLogView>- Returns:
- a newly built instance of
LoggingLogView.
-
-