Class LoggingLogViewConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.logging_log_view.LoggingLogViewConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingLogViewConfig>
- Enclosing interface:
- LoggingLogViewConfig
@Stability(Stable) public static final class LoggingLogViewConfig.Builder extends Object implements software.amazon.jsii.Builder<LoggingLogViewConfig>
A builder forLoggingLogViewConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingLogViewConfig.Builderbucket(String bucket)Sets the value ofLoggingLogViewConfig.getBucket()LoggingLogViewConfigbuild()Builds the configured instance.LoggingLogViewConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()LoggingLogViewConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()LoggingLogViewConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()LoggingLogViewConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()LoggingLogViewConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()LoggingLogViewConfig.Builderdescription(String description)Sets the value ofLoggingLogViewConfig.getDescription()LoggingLogViewConfig.Builderfilter(String filter)Sets the value ofLoggingLogViewConfig.getFilter()LoggingLogViewConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()LoggingLogViewConfig.Builderid(String id)Sets the value ofLoggingLogViewConfig.getId()LoggingLogViewConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()LoggingLogViewConfig.Builderlocation(String location)Sets the value ofLoggingLogViewConfig.getLocation()LoggingLogViewConfig.Buildername(String name)Sets the value ofLoggingLogViewConfig.getName()LoggingLogViewConfig.Builderparent(String parent)Sets the value ofLoggingLogViewConfig.getParent()LoggingLogViewConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()LoggingLogViewConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()LoggingLogViewConfig.Buildertimeouts(LoggingLogViewTimeouts timeouts)Sets the value ofLoggingLogViewConfig.getTimeouts()
-
-
-
Method Detail
-
bucket
@Stability(Stable) public LoggingLogViewConfig.Builder bucket(String bucket)
Sets the value ofLoggingLogViewConfig.getBucket()- Parameters:
bucket- The bucket of the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#bucket LoggingLogView#bucket}- Returns:
this
-
name
@Stability(Stable) public LoggingLogViewConfig.Builder name(String name)
Sets the value ofLoggingLogViewConfig.getName()- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_log_view#name LoggingLogView#name}- Returns:
this
-
description
@Stability(Stable) public LoggingLogViewConfig.Builder description(String description)
Sets the value ofLoggingLogViewConfig.getDescription()- Parameters:
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}- Returns:
this
-
filter
@Stability(Stable) public LoggingLogViewConfig.Builder filter(String filter)
Sets the value ofLoggingLogViewConfig.getFilter()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public LoggingLogViewConfig.Builder id(String id)
Sets the value ofLoggingLogViewConfig.getId()- 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}. 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.- Returns:
this
-
location
@Stability(Stable) public LoggingLogViewConfig.Builder location(String location)
Sets the value ofLoggingLogViewConfig.getLocation()- Parameters:
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}- Returns:
this
-
parent
@Stability(Stable) public LoggingLogViewConfig.Builder parent(String parent)
Sets the value ofLoggingLogViewConfig.getParent()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public LoggingLogViewConfig.Builder timeouts(LoggingLogViewTimeouts timeouts)
Sets the value ofLoggingLogViewConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public LoggingLogViewConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public LoggingLogViewConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LoggingLogViewConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LoggingLogViewConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public LoggingLogViewConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public LoggingLogViewConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public LoggingLogViewConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public LoggingLogViewConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public LoggingLogViewConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public LoggingLogViewConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingLogViewConfig>- Returns:
- a new instance of
LoggingLogViewConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-