Class ComputeRegionHealthCheckLogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_health_check.ComputeRegionHealthCheckLogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionHealthCheckLogConfig>
- Enclosing interface:
- ComputeRegionHealthCheckLogConfig
@Stability(Stable) public static final class ComputeRegionHealthCheckLogConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionHealthCheckLogConfig>
A builder forComputeRegionHealthCheckLogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionHealthCheckLogConfigbuild()Builds the configured instance.ComputeRegionHealthCheckLogConfig.Builderenable(com.hashicorp.cdktf.IResolvable enable)Sets the value ofComputeRegionHealthCheckLogConfig.getEnable()ComputeRegionHealthCheckLogConfig.Builderenable(Boolean enable)Sets the value ofComputeRegionHealthCheckLogConfig.getEnable()
-
-
-
Method Detail
-
enable
@Stability(Stable) public ComputeRegionHealthCheckLogConfig.Builder enable(Boolean enable)
Sets the value ofComputeRegionHealthCheckLogConfig.getEnable()- Parameters:
enable- Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#enable ComputeRegionHealthCheck#enable}- Returns:
this
-
enable
@Stability(Stable) public ComputeRegionHealthCheckLogConfig.Builder enable(com.hashicorp.cdktf.IResolvable enable)
Sets the value ofComputeRegionHealthCheckLogConfig.getEnable()- Parameters:
enable- Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#enable ComputeRegionHealthCheck#enable}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionHealthCheckLogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionHealthCheckLogConfig>- Returns:
- a new instance of
ComputeRegionHealthCheckLogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-