Class ComputeFirewallLogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_firewall.ComputeFirewallLogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeFirewallLogConfig>
- Enclosing interface:
- ComputeFirewallLogConfig
@Stability(Stable) public static final class ComputeFirewallLogConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeFirewallLogConfig>
A builder forComputeFirewallLogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeFirewallLogConfigbuild()Builds the configured instance.ComputeFirewallLogConfig.Buildermetadata(String metadata)Sets the value ofComputeFirewallLogConfig.getMetadata()
-
-
-
Method Detail
-
metadata
@Stability(Stable) public ComputeFirewallLogConfig.Builder metadata(String metadata)
Sets the value ofComputeFirewallLogConfig.getMetadata()- Parameters:
metadata- This field denotes whether to include or exclude metadata for firewall logs. Possible values: ["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall#metadata ComputeFirewall#metadata}- Returns:
this
-
build
@Stability(Stable) public ComputeFirewallLogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeFirewallLogConfig>- Returns:
- a new instance of
ComputeFirewallLogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-